Just one more technical detail regarding our experience with this issue:

Increasing memory (-Xmx) did not help us that much. I cannot remember if we
went up to 2048m, but I'm 100% sure we've tried with 1024m with same
results.

The only workaround for this issue we were experiencing was to remove
duplicated IDs, thus minimizing validation errors.

Cheers.



On Wed, Jul 2, 2014 at 2:21 PM, Hussein Shafie <[email protected]> wrote:

> 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
>



-- 
Fabián Mandelbaum
IS Engineer
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to