Page 1 of 1

jboss:java.lang.OutOfMemoryError: PermGen space

PostPosted: Tue Mar 15, 2011 10:16 am
by haretu
java.lang.OutOfMemoryError: PermGen space is different from java.lang.OutOfMemoryError: java heap space

still need to change run.conf.bat(or run.conf for linux)

set "JAVA_OPTS=-Xms512M -Xmx1024M -XX:MaxNewSize=256m -XX:MaxPermSize=256m"