Page 1 of 1

Problem with large XML-Files (OutOfMemory)

Posted: Wed May 11, 2005 3:13 pm
by chrishaase
Hello!

I've some problems working with large XML-Files (OutOfMemory Error).
Running <oxygen> on a P4 3Ghz system with 512 MB RAM and WinXP.

The XML-File I've tried to open is about 8 MB (not really a large filesize, but contains a huge number of nodes).

Is there a trick for better working with large and complex XML files?

Greetings,
Christian

Posted: Thu May 12, 2005 10:23 am
by sorin_ristache
Hello,

If the file is larger than 5 or 6 MB the display needs a large amount of memory so you should increase the maximum memory available to <oXygen/> more than 256 MB, probably 350 MB is enough. For instructions about how to do this please see

http://www.oxygenxml.com/doc/ug-oxygen/ ... ement.html

I hope this helps,
Sorin

What about VERY large files?

Posted: Tue May 17, 2005 4:34 am
by resglowing
I'm dealing with files that are 650MB and sometimes larger. I have 3.5 GB of RAM. I've also set the Xmx to 2000. However I still get the out of memory error. Is there anyway to minimize the amount of processing and memory usage Oxygen uses?

Also, when I try to set Xmx larger than 2000, oxygen crashes on OSX even though I have 3 GB available after the system loads. The error I get in the consol is:

Error occurred during initialization of VM
Could not reserve enough space for object heap
crashdump[353]: JavaApplicationStub crashed


Thanks

Posted: Tue May 17, 2005 9:35 am
by sorin_ristache
Hello,

A file larger than 50 MB is too large to be edited in <oXygen/>. The required memory is too large and the operation is slow. Please try to split your document in smaller fragments using external entities or the XInclude support provided by <oXygen/>:

http://www.oxygenxml.com/doc/WorkingWit ... uments.pdf
http://www.oxygenxml.com/doc/ug-oxygen/ ... -documents
http://www.oxygenxml.com/xinclude_support.html

Best regards,
Sorin