Looking for a JavaEE Architect or Potential Tech Co-Founder?
Please don't hesitate to contact me.

How avoid or fixed the PermGen problem with Glassfish or any web server that runs on jre

This is what helps me get through this issue, specially when in development mode and you're deploying your app every now and then.

 Add or modify the ff jvm properties (I've set this in Glassfish web admin UI):
-XX:PermSize=256m
-XX:MaxPermSize=512m
-XX:+CMSPermGenSweepingEnabled
-XX:+CMSClassUnloadingEnabled
How avoid or fixed the PermGen problem with Glassfish or any web server that runs on jre How avoid or fixed the PermGen problem with Glassfish or any web server that runs on jre Reviewed by Edward Legaspi on Thursday, September 06, 2012 Rating: 5

No comments:

Powered by Blogger.