PermGen problem solved (kind-of) !

28 jul, 2008 | techniek | 0 Comments

Developing on JBoss, and using the hot-deployment will get you the PermGen OutOfMemory errors sooner or later. I was happy to find this solution some days ago.

Just add this line to the run.bat:

set JAVA_OPTS=%JAVA_OPTS% -XX:+UseConcMarkSweepGC
-XX:+CMSPermGenSweepingEnabled
-XX:+CMSClassUnloadingEnabled
-XX:MaxPermSize=256m

The inventor claims there are still problems with his solution but I never saw the PermGen again after I added this line !

Tags:

0 Comments


Would you like to share your thoughts?

Would you like to share your thoughts?

Geef een antwoord

@2021 Plance. All rights reserved.