[jdom-interest] progressive parsing/minimizing memory footprint
Joseph Bowbeer
jozart at csi.com
Tue Apr 10 13:11:10 PDT 2001
Cem.Karan at usa.alcatel.com writes:
> Is there a way to get all the benefits of JDOM
> in a low memory footprint?
There's nothing ready-built available now.
If the ambitious JDO project ever bears fruit, then it should be possible to
use JDO's enhancer to create a "persistence capable" JDOM Document.
Java Data Objects (JDO)
http://java.sun.com/aboutJava/communityprocess/review/jsr012/
There was a lot of enthusiastic discussion about event-based processing last
November. The idea was to create a streaming SAXBuilder that would generate
a stream of JDOM Elements selected by an XPath expression.
http://lists.denveronline.net/lists/jdom-interest/2001-April/005485.html
----- original message -----
From: Cem Karan Cem.Karan at usa.alcatel.com
Date: Tue, 10 Apr 2001 09:45:58 -0400
I tried looking through the FAQ and the documents, but I didn't see
anything about this. I'm using JDom to work on an XML based database in
memory. The problem is that when the whole database is loaded into
memory, it takes about 107 Mb of RAM. And I haven't even started
processing yet (and my processing touches every single Element in the
Document). Is there a way to get all the benefits of JDom in a low
memory footprint? I know that the SAX is supposed to do this, but I'm
not sure if JDom automatically does this when it is using SAX. By the
way, I'm using JDom 6, with all of the default libraries and such.
Thanks,
Cem
More information about the jdom-interest
mailing list