Thursday, September 14, 2006

If you see "PermGen space"..

If you encountered "java.lang.OutOfMemoryError: PermGen space", set Java options. For example, I'm using the following options:

JAVA_OPTS="$JAVA_OPTS -Xmx256m -Xms256m -XX:PermSize=256m -XX:MaxPermSize=256m"

Please tune them for your environment :)

0 Comments:

Post a Comment

<< Home