[jdom-interest] Memory problem

Dennis Sosnoski dms at sosnoski.com
Thu Oct 17 10:19:10 PDT 2002

I've also seen this with the beta 8 release. I haven't checking into it 
in detail, but I thought it was discussed earlier and fixed in the CVS. 
At least, that's what I'm hoping...

Are there plans for a beta 9 soon? Perhaps JDOM should go to a more 
formal approach for this release, with a defined release candidate and 
only bug fixes allowed between the RC and actual beta. If people had a 
couple of days to test the RC it'd help prevent major flaws in the beta.

  - Dennis

Marcus Andersson wrote:

> Hello everyone,
> I have a problem regarding memory when using JDOM. Before I say 
> anything else I just want to say I have seen that there are some 
> issues in the archive regarding my problem.
> Anyway, the problem is that a 1Mb big XML file becomes about 140Mb in 
> memory when I have used SAXBuilder to build the JDOM document. I have 
> seen in previous mails that there may be a factor 10 when building to 
> a JDOM document. Now it is a factor 140. That cannot be correct. I 
> must have done something wrong. It did cause me OutOfMemoryError in 
> the beginning but I found -Xmx128m flag in some previous mail on this 
> topic.
> By the way, the document didn't become that big in jdk1.4.0_01, this 
> have happened since I moved to 1.4.1.
> Thanks in advance,
> /Marcus

More information about the jdom-interest mailing list