[jdom-interest] OutOfMemoryError

Pjotr Bokanov bokanov at lionbioscience.com
Tue Apr 17 00:42:24 PDT 2001

Hi all,
We had the following problem while analyzing (only read) an XML file
using JDOM:

The file size is approximately 13 Mbytes. One element in it is repeated
approximately 1400 times. During reading the contents of its
child-elements, the program terminates with an error message:
Exeption in thread "main" java.lang.OutOfMemoryError <<no stack

Is there any way to analyze large files without program termination und
without command: "java -Xms<size> -Xmx<size> SomeClass"?
Any "deffered-build document implementation"?

you very much in advance for your help.

-Pjotr Bokanov

More information about the jdom-interest mailing list