[jdom-interest] Parsing an 16MB-XML-File

steven.gould at cgiusa.com steven.gould at cgiusa.com
Wed Jan 24 05:28:35 PST 2001


Andy,

Try increasing the heap size of the JVM, using something like:

  java -Xms64m -Xmx64m 

This will set the initial and maximum heap sizes to 64MBytes. Try increasing
the value until the problem stops.

Steve

-----Original Message-----
From: Andreas Lorenz
To: jdom-interest at jdom.org
Sent: 1/24/01 5:37 AM
Subject: [jdom-interest] Parsing an 16MB-XML-File

HI !

I've got a problem parsing an Xml - File that includes 16MB base64
encoded Binaries.
I use the SAXBuilder:

SAXBuilder builder = new SAXBuilder(true);
        Document doc = builder.build(file);

While running the programm this Error message occurs:
java.lang.OutOfMemoryError
 <<no stack trace available>>

Has anybody an idea  ?

Thanks,
Andy

_______________________________________________
To control your jdom-interest membership:
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@you
rhost.com



More information about the jdom-interest mailing list