users@glassfish.java.net

Re: Classloader Leaking

From: Dominik Dorn <dominik.dorn_at_gmail.com>
Date: Fri, 5 Feb 2010 14:46:28 +0100

I've got a theory... maybe these objects don't get whipped away because they are
still referenced... do you have @PreDestroy annotations in your classes? Maybe
one needs to set the references to NULL if the container doesn't do it...



On Fri, Feb 5, 2010 at 2:34 PM, <glassfish_at_javadesktop.org> wrote:
> In my tests, my applications didn't include loggers of any nature. All I have is one SSB and 3 Entities, using hibernate. It is the simplest application possible, but all these classes stays in memory forever, along with their generated Proxies and $__javassist_$$ generated classes.
>
> I think this is a problem with no possible solution. We must learn to live with it...
> [Message sent by forum member 'mmilanez' (mmilanez_at_gmail.com)]
>
> http://forums.java.net/jive/thread.jspa?messageID=384983
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>