How can I avoid, in execution, the "java.lang.OutOfMemoryError: Java heap space" error?

Question ID : 212
Created on 2013-10-29 at 12:09 PM
Author : Veryant Support [support@veryant.com]

Online URL : http://support.veryant.com/support/phpkb/question.php?ID=212



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.



Back to Original Question