PermGen out of space
Posted: 18 Feb 2013, 10:54
Sorry, it's another PermGen thread, I've read all the other threads regarding this but with no luck:
We're having an issue in which after a couple of days, of ~150-250 concurrent users and ~10,000 games, am running into the permgen out of space error. Our vmoptions include the following
-XX:MaxPermSize=256m
-XX:+CMSClassUnloadingEnabled
-XX:+CMSPermGenSweepingEnabled
and using visualvm I can see over the couple of days the permgen very low then gradually increasing, until it hits the top. A heap dump near the time of full permgen seems to suggest some classloaders are not being cleared as there are 1,628 of them which appear to linked with our Game extension. I'm not using any third party libraries and am definitely calling the super.destroy and clearing all the handlers etc. Is there any further info in the dump to figure out why there are so amny classloaders or anything else I can check?
Thanks
Richard
We're having an issue in which after a couple of days, of ~150-250 concurrent users and ~10,000 games, am running into the permgen out of space error. Our vmoptions include the following
-XX:MaxPermSize=256m
-XX:+CMSClassUnloadingEnabled
-XX:+CMSPermGenSweepingEnabled
and using visualvm I can see over the couple of days the permgen very low then gradually increasing, until it hits the top. A heap dump near the time of full permgen seems to suggest some classloaders are not being cleared as there are 1,628 of them which appear to linked with our Game extension. I'm not using any third party libraries and am definitely calling the super.destroy and clearing all the handlers etc. Is there any further info in the dump to figure out why there are so amny classloaders or anything else I can check?
Thanks
Richard