[jdom-interest] Huge XML file

Ken Rune Helland kenh at csc.no
Wed Dec 13 03:30:28 PST 2000

On Wed, 13 Dec 2000, Joseph Berdat wrote:

> When try to load in memory large xml file (10M), the exception OutOfMemory
> is thrown.
> What can I do to load this file?
> Thanks.

try usin g -Xmx 64m (for 64 megabyte) as a parameter for the 
java program somewhere before the class to run.

This will allow the java enginine to allocate up to 64 megabyte
of ram to the virtuel engine, i tink the default is 16m.


More information about the jdom-interest mailing list