Large Files in Author View
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 96
- Joined: Mon May 09, 2011 11:54 am
Large Files in Author View
Hi,
if I have a large XML (eg. ~20MB), Oxygen normally crashes if I try to open it in Author View. I tried to use the oxy-folded-Property to collapse all the different parts of my document in hope they wont be loaded - but the behavior is just the same.
-> Is it possible to tell Oxygen to not render the collapsed elements and do a partial renderin if the parts will be expanded (and free the memory if they will be collapsed again)?
Thanks,
Patrick
if I have a large XML (eg. ~20MB), Oxygen normally crashes if I try to open it in Author View. I tried to use the oxy-folded-Property to collapse all the different parts of my document in hope they wont be loaded - but the behavior is just the same.
-> Is it possible to tell Oxygen to not render the collapsed elements and do a partial renderin if the parts will be expanded (and free the memory if they will be collapsed again)?
Thanks,
Patrick
-
- Posts: 9421
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Large Files in Author View
Hi Patrick,
The folding state of an element affects only its display. Its content is still fully loaded in the Author page.
What you could do would be to increase the maximum system memory available to Oxygen:
http://www.oxygenxml.com/doc/ug-editor/ ... ments.html
If you have a 64-bit operating system you could install the 64-bit Oxygen installation kit which would allow you to increase the maximum amount to 2-3GBs (but probably 1GB would be enough for a 20MB file).
Regards,
Radu
The folding state of an element affects only its display. Its content is still fully loaded in the Author page.
What you could do would be to increase the maximum system memory available to Oxygen:
http://www.oxygenxml.com/doc/ug-editor/ ... ments.html
If you have a 64-bit operating system you could install the 64-bit Oxygen installation kit which would allow you to increase the maximum amount to 2-3GBs (but probably 1GB would be enough for a 20MB file).
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 96
- Joined: Mon May 09, 2011 11:54 am
Re: Large Files in Author View
Hi, thanks for your answer.
I have an 32bit client only, the maximum memory is not enough to display these XMLs. If I split the XML in multiple Parts an put them together with xi:include, it works if I add an -oxy-folded:true; to the element include in the stylesheet. So I thought that could work with single file also.
I have an 32bit client only, the maximum memory is not enough to display these XMLs. If I split the XML in multiple Parts an put them together with xi:include, it works if I add an -oxy-folded:true; to the element include in the stylesheet. So I thought that could work with single file also.
-
- Posts: 9421
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Large Files in Author View
Hi Patrick,
The Author visual page has content information (which is the entire loaded document even if the nodes are folded) and layout information (information about how the content is presented) which should take a smaller amount of memory when XML elements are folded.
From what I tested setting a maximum amount of memory of 1GB (-Xmx1024m) should be enough to edit a 20MB document in the Author mode (without any folds to it). But this also depends on many factors like the XML structure, the used CSS selectors.
If it is possible for you to provide us some XML samples, we could try to work on our side to optimize the memory consumption in the Author mode.
Regards,
Radu
The Author visual page has content information (which is the entire loaded document even if the nodes are folded) and layout information (information about how the content is presented) which should take a smaller amount of memory when XML elements are folded.
From what I tested setting a maximum amount of memory of 1GB (-Xmx1024m) should be enough to edit a 20MB document in the Author mode (without any folds to it). But this also depends on many factors like the XML structure, the used CSS selectors.
If it is possible for you to provide us some XML samples, we could try to work on our side to optimize the memory consumption in the Author mode.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service