On 01/21/2015 12:01 PM, David DUPERRON wrote:
I am using XXE 6.1.0, and trying to print in pdf a quite large document
(the final pdf file is 280MB, containing lots of graphics).
On a previous machine (PC under Windows7) the pdf was
printing fine even of the process was quite long, but on my new machine
(MacBook Pro 15") the process stops brutally with the
Java.Lang.OutOfMemoryError...
Is there a way to increase the available memory for the pdf conversion process?
Any way to
tweak the java parameters?
When you say "print in pdf", do you mean using "File|Print" or using
"XXX|Convert Document|Convert to PDF" (where "XXX" is XHTML, DocBook,
Map, BookMap or Topic)?
On the Mac, "File|Print" has very serious problems, almost certainly due
to bugs in the Java runtime. See
http://www.xmlmind.com/xmleditor/known_problems.html#problems_on_mac
However, if you are using "Convert to PDF", then increasing the
available memory may indeed solve the problem.
How to do this is explained in this FAQ:
http://www.xmlmind.com/xmleditor/faq.html#outofmemory
Please look at the end of the answer, near "On the Mac:".
If -Xmx1024m is not sufficient, then try -Xmx2048m or even -Xmx4096m
(Apache FOP or RenderX XEP, which are used by XXE to generate PDF are
memory hogs).
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support