This error means that the JVM ran out of memory.
To avoid it, you must increase the memory limit by adding -Xmx256m Java option to the command line.
256 means 256 MB and it specifies the maximum amount of RAM that the JVM can allocate.
If it’s not enough, try with higher values.
|