[jdom-interest] about memory limitation when using jdom
benjamin.kopic at pancontext.com
Mon Nov 25 01:54:07 PST 2002
I had a similar problem, and I believe there are 2 ways of doing it:
1) Using ElementFilter and your own JDOMFactory implementation, which
would create only the elements you need.
2) Using dom4j API instead, which seems to be more geared to large
(preferably with a shallow tree) XML documents. Have a look at:
On Mon, 2002-11-25 at 02:56, Gu Xueying (Shinnie Gu) wrote:
I use jdom to export all data from database about 10,000 records.
I use SAXBuilder to build an xml and export a xml in ONIX (Online
information exchange) format.
My pc's memory is 256m and I use -Xmx512 java vm parameter to run it. But it
runs out of memory.
I don't know what's the mechanism for jdom to build, can jdom build a xml
SAX (using the least memory). Or there are other methods.
Any help is appreciated!!
To control your jdom-interest membership:
m: +44 (0)780 154 7643
t: +44 (0)20 7794 3090
e: benjamin.kopic at panContext.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the jdom-interest