[jdom-interest] Memory bug?
erik.billerby at consultant.volvo.com
Mon Dec 16 04:00:37 PST 2002
Its not the XMLOutputter that stands for the memory consumption anymore. However, in my program I have a method on a session bean that constructs the xml document returning my 800kb org.jdom.Document. When the Document gets serialized with javax.rmi.CORBA.Util.copyObject() app 100 MB of memory is consumed.
I have now changed my bean to return a String instead ie, using the XMLOutputter in the bean instead of in the calling method.
Conclusion: When serializing a Document and sending it over rmi, there is something consuming very much memory.
More information about the jdom-interest