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

Ian Lea ian.lea at gmail.com
Wed Aug 3 07:53:01 PDT 2005


JDOM, like most XML libraries, needs plenty of memory when working
with large files.  See http://www.jdom.org/docs/faq.html#a0320


--
Ian.

On 03/08/05, Sukhvinder Singh <ssingh at lumenare.com> wrote:
>  
>  
> 
> 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 
> _______________________________________________
> To control your jdom-interest membership:
> http://www.jdom.org/mailman/options/jdom-interest/youraddr@yourhost.com
> 
>



More information about the jdom-interest mailing list