Pierce T. wrote:
>
> Thanks for your reply. Please see replies below.
>
I managed to reproduce the problem albeit without crashing Java (I work
on a Linux box, not on Windows).
It's an out of memory caused by the large number of images (2,000 pages
when printed; over 700 XML files; just over 1100 <imagedata> elements).
It's not surprising that XXE v5.9 eats a little more memory than v4.5.2.
(Or is it a recent Java 64-bit runtime compared to an older Java 32-bit
runtime?)
There are two ways to work around this problem:
1) Do not display the images normally. Display them as thumbnails. In
order to do this, before opening your document, please Select
Options|Preferences and then select the View section.
At the end of this section, you'll find a "Display images" combobox,
please select "as thumbnails".
More information in
http://www.xmlmind.com/xmleditor/_distrib/doc/help/viewOptions.html#viewOptions_images
After doing this, I was able to open referenceguide.xml in about 25s
(Quad-core Core i7; 8Gb) and to generate the Web Help. See it here:
http://www.pixware.fr/XXX/YYY/
AND/OR
2) Increase the amount of memory allowed for Java. How to do this is
explained in the FAQ:
---
XXE freezes when I try to open large XML files. Is there a workaround
for this problem?
---
http://www.xmlmind.com/xmleditor/faq.html#outofmemory
After changing -Xmx512m to -Xmx2048m, I was able to open
referenceguide.xml with the images displayed normally.
Moreover, after checking "Yes" in "Load images in a background task", an
option which is almost mandatory for your use case, your document
appeared after just 12s!
More information in
http://www.xmlmind.com/xmleditor/_distrib/doc/help/viewOptions.html#viewOptions_images
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support