Title: How can I avoid the "java.lang.OutOfMemoryError: PermGen space" error?

This error means that the non-heap memory limit of the JVM has been reached. The non-heap memory is used to store class descriptions, so this error may appear when running huge applications.

To avoid it, you must increase the non-heap memory limit by adding -XX:MaxPermSize=256m Java option to the command line:

iscrun -J-XX:MaxPermSize=256m PROGNAME
java -XX:MaxPermSize=256m PROGNAME

256 means 256 MB and it specifies the maximum amount of non-heap memory that the JVM can allocate. If itís not enough, try with higher values.

Authored by: Veryant Support on Wed, Nov 27th, 2013 at 7:00 PM
This question has been viewed 6197 times so far.
Online URL: http://support.veryant.com/support/phpkb/question.php?ID=224

Powered by PHPKB Knowledge Base Software