PermGen Collection Issues
Holger Hoffstätte
holger.hoffstaette at googlemail.com
Thu Apr 26 15:59:40 PDT 2012
On 26.04.2012 15:35, Martin Hare-Robertson wrote:
> I am hitting a “java.lang.OutOfMemoryError: PermGen space” in a situation
> where I think a great deal of the perm gen is actually eligible for
> collection.
By default CMS does not collect classes; try with
-XX:+CMSClassUnloadingEnabled.
> I am running Tomcat 6 using a 32 bit Hotspot JVM (1.6.0_07). I have had
Those are fairly old too. Also note that just because your app code does
not leak, many (badly written) libraries keep static state or hidden
internal threads alive unless they are explicitly shut down/cleaned up.
-h
More information about the hotspot-gc-use
mailing list