On 03/09/2015 10:31 PM, IT Support wrote:
Hello,
Currently running XML Mind 5.8 (32bit) on Windows 7 Pro (64bit).
Please note that, in principle, XMLmind XML Editor v5 is no longer
supported by us.
XML Mind is with the included JRE. Also have JRE 1.6 (32bit) installed.
The included JRE is a 1.6.0_45 32-bit runtime. It is found in folder
<XXE_install_dir>/bin/jre/.
Deleting (or moving elsewhere) folder <XXE_install_dir>/bin/jre/ would
force XMLmind XML Editor to use whatever Java 1.6+ runtime publicly
installed on your machine.
Running a large dita document for PDF and get the "Out of Memory" Java
heap error.
It's FOP which causes this "Out of Memory", not XMLmind XML Editor. FOP
seems to consume a lot a normal memory (called "heap") and also a
special ``kind of memory'' called "PermGen space".
I am able to change the XMX setting in xxe.jstart from 512M to 1024M.
But still get the same out of memory error.
When trying to increase the -xmx flag to 2048m, receive the "Unable to
start the Virtual Machine" error when launching XML Mind.
Is there a way to increase the XMX setting to 2GB or 4GB?
There is probably a physical or system limit which prevents you from
setting -Xmx4096m or -Xmx2048m. I've never seen this myself and I don't
know Windows well enough to help you removing this limit.
Moreover may be this won't help at all. May be you would still get "Out
of Memory" errors because increasing the heap size won't increase the
"PermGen space".
I suggest that you try the following workarounds one after the other.
1) Set -Xmx1024m but also set -XX:MaxPermSize=512m
(http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html).
You already know how to do it
(http://www.xmlmind.com/xmleditor/faq.html#outofmemory).
You can check the heap size by using menu item "Help|About".
If this fails, try 2) below.
2) The basic idea here is that a recent Java runtime behaves differently
in terms of memory consumption from your old Java 1.6 runtime.
a) Move folder <XXE_install_dir>/bin/jre/ elsewhere (e.g. C:\temp\)
b) Install latest Java 1.8 runtime (note that the 32-bit version eats
less memory than 64-bit version).
XXE v5.8 has not been tested against Java 1.8 therefore we cannot
guarantee that it will work fine or even at all. However, we *think* it
will work.
c) Set -Xmx1024m (then if you still have "Out of Memory" errors,
-Xmx2048m or -Xmx4096m).
No need to set -XX:MaxPermSize=512m because Java 1.8 has no concept of
limited "PermGen space".
You can check the Java version and heap size by using menu item
"Help|About".
Let me know if you require any other detailed information.
Thank You,
*Christopher Massa*| System Administrator | T: +1 862 261-3365 |
Dovetail | 1515 State RT 10 STE 2, Parsippany NJ 07054, US |
Description: cid:_1_07F58CE007F5889C0050C0FD8025783E
The information in this email is for the sole use of the intended
recipients(s). It may be confidential and/or legally privileged. Any
review, disclosure, copying, distribution, retention, or any other use
by others is prohibited and may be unlawful. If you are not the intended
recipient, please contact the sender and delete all copies. We reserve
the right to monitor email content for the purposes of ensuring
compliance with legal requirements and company policies and your sending
to, or receiving from, us of any email constitutes your agreement to
these terms.
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support