[jdom-interest] JDOM and Garbage Collection

PJ.Fanning at polarlake.com PJ.Fanning at polarlake.com
Tue Sep 17 07:33:21 PDT 2002


I have an application that uses a mix of reusable components, some written
in SAX and some in JDOM. I have noticed that there is a significant memory
leak and I suspect that once I have finished with a JDOM Document, that the
Garbage Collector is not reclaiming all the available memory. JProbe seems
to back up this assertion.
I am thinking of going recursively through each JDOM Document when I finish
with it and setting the content at each level to null.
Has anyone come across a similar problem or have any thoughts on what I
should do?

Thanks in advance,
PJ 



More information about the jdom-interest mailing list