Edit online

Problem

My browser runs out of memory when working with large documents in Oxygen XML Web Author.

Cause

When Oxygen XML Web Author renders documents, it causes the browser to consume more memory than the original document size.

Solution

To work with large documents, you can configure Oxygen XML Web Author to fold some of the elements, by default. To do this, you need to create a custom CSS file that specifies the folding (for example, specifying that all the sections are folded by default):
section{
    -oxy-foldable:true;
    -oxy-folded: true;
    -oxy-not-foldable-child: title;
}
Note: The -oxy-foldable property does not work with elements that contain: display: inline.
To test it, you can reference the CSS file in a processing instruction at the top of the document:
<?xml-stylesheet type="text/css" href="MyCustom.css"?>

For production purposes, you may want to configure a custom framework that associates the CSS file to large XML documents.