Thursday, November 17, 2011, 09:00 PM - System
Posted by Freddy Chu
If you still face the problem ofPosted by Freddy Chu
java.lang.OutOfMemoryError: PermGen space
Event you have increase the -XX:MaxPermSize.
You can try the following jvm args.
-XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled
Usually only java web container like tomcat / jboss / jetty with many contexts will need that flag.
But remember enabling this will decrease the performance. Use with care.
P.S. java 1.6 seems do not support CMSPermGenSweepingEnabled.





