Articles from September 2011



java.lang.OutOfMemoryError: PermGen

For the past few days a been getting an error when Jenkins deploys to Tomcat

unable to load xyz due to java.lang.OutOfMemoryError: PermGen space

Apparently this can occur after redeploying an application a few times and the solution is to add the options below to the JVM command line

-XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled

I will post later if it worked. will try it

Update: it didn’t work so will update later with what did work if i find out