On Tue, 29 Nov 2005 00:39:51 -0600
[EMAIL PROTECTED] wrote:

> On Mon, Nov 28, 2005 at 06:24:52PM +0100, Lionel Farbos wrote:
> > Hi Juan,
> > 
> > I think your problem can't be solved (only) by Tomcat.
> > The problem is that objets stay in memory because of pointers on static 
> > references...
> 
>       but aren't those supposed to go away when the classloader is no longer
> referenced?  If you can't get to the classloader that loaded the class
> then you can't get to the static fields, so it should be gc'd.  no?
> 
> eric
> 
Sorry, I made a mistake in my tests/analysis : 

the singleton is freed when singleton=null;

If its classloaders is not garbaged on the next "Full GC"
this is due to another object always pointed ...
So, see this : 
http://opensource2.atlassian.com/confluence/spring/pages/viewpage.action?pageId=2669

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to