users@glassfish.java.net

Re: Diagnosing PermGen issues

From: Chris Donaldson <Christopher.Donaldson_at_Sun.COM>
Date: Fri, 30 Jan 2009 17:02:21 -0600

Hi Dobes,

You may have a classloader leak:

http://blogs.sun.com/fkieviet/entry/classloader_leaks_the_dreaded_java

Regards,
Chris

Dobes Vandermeer wrote:
> Does anyone know of a way to figure out why I'm running out of PermGen space
> after multiple redployments? I'd like to cut down the time it takes for me
> to update the EAR on our server and one sizable component is that I restart
> the domain each time to avoid running out of PermGen. On my local machine I
> routinely have to restart glassfish due to PermGen issues.
>
> My EAR is using Postgres and Hibernate, and a bunch of other jars. Are
> there tools and techniques that would allow me to figure out which classes
> are not being garbage collected?
>
> Thanks,
> Dobes
>