[jdom-interest] JDOM output buffering question

Gamble, Wesley (WG10) WG10 at tmw.com
Mon Jan 21 08:21:58 PST 2008


I'm watching the memory for the Java process in the Windows task
manager.

-----Original Message-----
From: Rolf Lear [mailto:jdom at tuis.net] 
Sent: Tuesday, January 15, 2008 6:41 PM
To: Gamble, Wesley (WG10)
Cc: jdom-interest at jdom.org
Subject: Re: [jdom-interest] JDOM output buffering question

Gamble, Wesley (WG10) wrote:
>
> I put a finalize method on the object that holds the SAXBuilder as an 
> instance variable, and set the SAXBuilder to null, and no memory is 
> released.
>
> The descendant of the JDOM Document gets garbage collected, and I'm 
> assuming the SAXBuilder will get garbage collected, but my memory is 
> still way high.
>
> Can anyone think of any ways that resources could still be held on to 
> in this scenario. Perhaps my leak is not in JDOM.
>
> Thanks,
>
> Wes
>
>
------------------------------------------------------------------------
>
> _______________________________________________
> To control your jdom-interest membership:
>
http://www.jdom.org/mailman/options/jdom-interest/youraddr@yourhost.com
How are you measuring your memory usage?

Rolf




More information about the jdom-interest mailing list