[jdom-interest] Memory bug?
arosen at novell.com
Fri Dec 13 10:55:56 PST 2002
I don't remember anyone complaining about XMLOutputter using a lot of memory before. Maybe the memory is being used up because ZipOutputStream has to keep the whole document in memory, and then compress it. If you try it with an uncompressed output stream?
>>> Billerby Erik <erik.billerby at consultant.volvo.com> 12/13/02 04:34AM >>>
I'm using jdom to construct a pretty large xml-file (757 kb). When I'm outputting the document to a file the computer begins consuming a LOT of memory (app. 245 MB).
I'm using the latest code from cvs, so the StringBuffer bug discussed here should be solved. (I'm using jdk 1.3.0, so this bug should not appear anyway?)
This is the code where the memory peak starts...
dBackup is my document and its writing to a ZipOutputStream.
To control your jdom-interest membership:
More information about the jdom-interest