[jdom-interest] Huge XML file

Chris Newland cnewland at nortelnetworks.com
Wed Dec 13 03:20:50 PST 2000


Hi Joesph,

Have you tried increasing the heap size of the JVM?

java -Xms64m -Xmx64m 

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

How much physical memory is in your machine?

Best Regards,

Chris Newland

> -----Original Message-----
> From: Joseph Berdat [mailto:jberdat at eim.ch]
> Sent: 13 December 2000 09:43
> To: 'jdom-interest at jdom.org'
> Subject: [jdom-interest] Huge XML file
> 
> 
> When try to load in memory large xml file (10M), the 
> exception OutOfMemory
> is thrown.
> What can I do to load this file?
> Thanks.
> 
> 
> **********************************************************************
>  This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.  Please contact postmaster at eim.ch
> **********************************************************************
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/yo
uraddr at yourhost.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://jdom.org/pipermail/jdom-interest/attachments/20001213/d6a1ee7b/attachment.htm


More information about the jdom-interest mailing list