Problem with large XML-Files (OutOfMemory)

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
Posts: 8
Joined: Thu Mar 31, 2005 2:13 pm
Location: Hannover, Germany

Problem with large XML-Files (OutOfMemory)

Post by chrishaase » Wed May 11, 2005 3:13 pm


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?


Posts: 4144
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache » Thu May 12, 2005 10:23 am


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 ... ement.html

I hope this helps,

Posts: 1
Joined: Tue May 17, 2005 4:23 am
Location: Manassas, VA

What about VERY large files?

Post by resglowing » Tue May 17, 2005 4:34 am

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


Posts: 4144
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache » Tue May 17, 2005 9:35 am


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/>: ... uments.pdf ... -documents

Best regards,

Post Reply