[jdom-interest] java.lang.OutOfMemory with an 10 MB xml file??

Edelson, Justin Justin.Edelson at mtvn.com
Wed Aug 3 07:22:17 PDT 2005


Did you try increasing your heap size?
 

________________________________

From: jdom-interest-bounces at jdom.org on behalf of Sukhvinder Singh
Sent: Wed 8/3/2005 9:58 AM
To: jdom-interest at jdom.org
Subject: [jdom-interest] java.lang.OutOfMemory with an 10 MB xml file??



Hi all, 

 

I am using JDOM XPath, but on trying to load a large xml file (10 MB) to use jdom XPath, I am getting "java.lang.OutOfMemory" error, as my requirement is to use more then 10MB XML files, any idea how 10 MB XML file using a SaxBuilder would run out of memory? How does the DTD validation of an XML parser handle this?
 
I'd appreciate any ideas or knowledge in this area. 
 

Thanks,

Sukhvinder Singh

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.jdom.org/pipermail/jdom-interest/attachments/20050803/66ce486e/attachment.htm


More information about the jdom-interest mailing list