I am getting a PermGen Space Exception whenever I deploy my web application. I tried some JVm option in NetBeans but still unable to resolve the issue.
+1
A:
Add this JVM parameter: -XX:MaxPermSize=128m (or 256m or 512m). Here's a related article as well that lists some other useful JVM options.
Taylor Leese
2009-09-03 06:27:35
thanks for your reply,i tried this option,but still showing the same issue.
vipin k.
2009-09-03 06:36:49
Did you try the other options as well in the article (-XX:+UseConcMarkSweepGC, -XX:+CMSPermGenSweepingEnabled, -XX:+CMSClassUnloadingEnabled)?
Taylor Leese
2009-09-03 06:51:33
I agree, Taylor L. Also, upping permgen just delays the inevitable.
opyate
2009-12-03 12:25:36