By the way, setting memory to 12G ( even if you have it) is about enough
memory to create a 24,000 page document.
If you are trying to create something much smaller than that . this is good
indication that the value you are changing is not actually doing what you
think.
Kevin Brown
Executive Vice President, Sales & Marketing RenderX, Inc.
(650) 327-1000 Direct
(650) 328-8008 Fax
(925) 395-1772 Mobile
skype:kbrown01
<mailto:kevin@renderx.com> kevin@renderx.com
<mailto:sales@renderx.com> sales@renderx.com
<http://www.renderx.com/> http://www.renderx.com
From: David Hollis [mailto:dhollis@aandoconsultancy.ltd.uk]
Sent: Monday, September 12, 2016 3:43 PM
To: RenderX Community Support List <xep-support@renderx.com>; Danny Vint
<dan.vint@workday.com>
Cc: kevin@renderx.com
Subject: Re: [xep-support] Generating DITA PDF from oXygen
Hi Danny,
Firstly, this is not an XEP issue, it's a DITA-OT and its use of Java issue.
There are plenty of support lists and forums for DITA, and also for oXygen.
To use XEP with the DITA-OT, you need to set both JVM AND maxJavaMemory.
To quote from the thread: The values I used were: maxJavaMemory=1024m and
JVM=-Xmx1536m
You can use the oXygen DITA-OT interface to add maxJavaMemory.
Cranking up JVM to 10G or 12G is what I did, and it's wholly unnecessary.
The default for maxJavaMemory is something like 512m, and it's not enough.
HTH,
David
By forked process I think you mean the setting on the oXygen transformation
under Advanced JVM arguments. I have this set to -Xmx10g
By Java environment, I believe this is the settings that start oXygen, so in
my case the oxygenMac.sh file has this
"${OXYGEN_JAVA}" -Xdock:name="Oxygen XML Editor"\
-Xdock:icon="$OXYGEN_HOME/Oxygen XML
Editor.app/Contents/Resources/Oxygen.icns"\
-Dcom.oxygenxml.editor.plugins.dir="$OXYGEN_HOME/plugins"\
-Dcom.oxygenxml.app.descriptor=ro.sync.exml.EditorFrameDescriptor\
-Xmx12G\
-XX:-OmitStackTraceInFastThrow\
-XX:SoftRefLRUPolicyMSPerMB=10\
-XX:MaxPermSize=256m\
-cp "$CP" ro.sync.exml.Oxygen "$@"
I'm using the default xep shell script
From: Xep-support < <mailto:xep-support-bounces@renderx.com>
xep-support-bounces@renderx.com> on behalf of " <mailto:kevin@renderx.com>
kevin@renderx.com" < <mailto:kevin@renderx.com> kevin@renderx.com>
Organization: RenderX
Reply-To: " <mailto:kevin@renderx.com> kevin@renderx.com" <
<mailto:kevin@renderx.com> kevin@renderx.com>, RenderX Community Support
List < <mailto:xep-support@renderx.com> xep-support@renderx.com>
Date: Monday, September 12, 2016 at 11:12 AM
To: 'RenderX Community Support List' < <mailto:xep-support@renderx.com>
xep-support@renderx.com>
Subject: [xep-support] Re: Generating DITA PDF from oXygen
There are two settings for maxmemory, one if for the Java environment and
the other is for a forked RenderX process.
What are you setting these to?
One is maxJavaMemory and one is maxmemory.
See this long thread here:
<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_dita-2Dot_d
ita-2Dot_issues_2415-23issuecomment-2D226747995&d=DQMFaQ&c=DS6PUFBBr_KiLo7Sj
t3ljp5jaW5k2i9ijVXllEdOozc&r=VLHbLnitBO9ng4PWJj7KT8H2FTAG8LDGvDhs-37CHTg&m=q
o8LwLNH_bFn0T7NG3vofri7QoPr0xlaM_F_SCbPpMg&s=Pi_1vqHrXCf2l_mdh5ipP4vw8hRDqsW
j9HHiOtdEFgs&e=>
https://github.com/dita-ot/dita-ot/issues/2415#issuecomment-226747995
(specifically this resolution)
Kevin Brown
Executive Vice President, Sales & Marketing RenderX, Inc.
(650) 327-1000 Direct
(650) 328-8008 Fax
(925) 395-1772 Mobile
skype:kbrown01
<mailto:kevin@renderx.com> kevin@renderx.com
<mailto:sales@renderx.com> sales@renderx.com
<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.renderx.com_&d=DQMF
aQ&c=DS6PUFBBr_KiLo7Sjt3ljp5jaW5k2i9ijVXllEdOozc&r=VLHbLnitBO9ng4PWJj7KT8H2F
TAG8LDGvDhs-37CHTg&m=qo8LwLNH_bFn0T7NG3vofri7QoPr0xlaM_F_SCbPpMg&s=EPUI4dBuU
j0xx6vWwuIoLzmYi9ZNv7Gpkh13Jb1HAqw&e=> http://www.renderx.com
From: Xep-support [ <mailto:xep-support-bounces@renderx.com>
mailto:xep-support-bounces@renderx.com] On Behalf Of Danny Vint
Sent: Monday, September 12, 2016 10:49 AM
To: <mailto:xep-support@renderx.com> xep-support@renderx.com
Subject: [xep-support] Generating DITA PDF from oXygen
When I try and run XEP within the DITA PDF transformation I get the
following error:
transform.fo2pdf.xep.test-use:
transform.fo2pdf.xep.init:
transform.fo2pdf.xep:
[java] Exception in thread "main" java.lang.OutOfMemoryError: GC
overhead limit exceeded
[java] at com.renderx.util.List.snoc(Unknown Source)
[java] at com.renderx.util.List.append(Unknown Source)
[java] at com.renderx.xep.cmp.ListContext.gen(Unknown Source)
[java] at com.renderx.xep.cmp.FlowHandler.endElement(Unknown Source)
[java] at com.renderx.xep.cmp.SequenceHandler.endElement(Unknown
Source)
[java] at com.renderx.xep.cmp.RootHandler.endElement(Unknown Source)
[java] at com.renderx.xep.pre.BidiResolver.endElement(Unknown Source)
[java] at com.renderx.xep.pre.FOHandler.callEndHandler(Unknown Source)
[java] at com.renderx.xep.pre.FOHandler.callEndHandler(Unknown Source)
[java] at com.renderx.xep.pre.FOHandler.endElement(Unknown Source)
[java] at com.renderx.xep.pre.FOPreprocessor.endElement(Unknown Source)
[java] at com.renderx.sax.SAXStorage$EndElementRecord.play(Unknown
Source)
[java] at com.renderx.sax.SAXStorage.play(Unknown Source)
[java] at
com.renderx.xep.FormatterCore$ContentHandlerDriver.endDocument(Unknown
Source)
[java] at
org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:508)
[java] at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
[java] at
org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
[java] at com.renderx.xep.FormatterCore.render(Unknown Source)
[java] at com.renderx.xep.FormatterImpl.render(Unknown Source)
[java] at com.renderx.xep.FormatterImpl.render(Unknown Source)
[java] at com.idiominc.ws.opentopic.fo.xep.Runner.run(Runner.java:100)
[java] at com.idiominc.ws.opentopic.fo.xep.Runner.main(Runner.java:60)
BUILD FAILED
/Applications/oxygen/frameworks/dita/workday-dita-ot/build.xml:44: The
following error occurred while executing this line:
/Applications/oxygen/frameworks/dita/workday-dita-ot/plugins/org.dita.pdf2/b
uild.xml:150: The following error occurred while executing this line:
/Applications/oxygen/frameworks/dita/workday-dita-ot/plugins/org.dita.pdf2/b
uild_xep.xml:106: Java returned: 1
Total time: 15 minutes 41 seconds
_____
I'm able to take the FO that is generated with the transformation and run
XEP on the command line and I get the PDF output. I've bumped the oXygen
available memory up as well as the Advanced tab on the transformation and it
doesn't seem to make any difference. Any idea on how to correct this?
..dan
_______________________________________________
(*) To unsubscribe, please visit
http://lists.renderx.com/mailman/options/xep-support
(*) By using the Service, you expressly agree to these Terms of Service
http://w
ww.renderx.com/terms-of-service.html
<http://ww.renderx.com/terms-of-service.html>
_______________________________________________
(*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support
(*) By using the Service, you expressly agree to these Terms of Service http://w
ww.renderx.com/terms-of-service.html
Received on Mon Sep 12 19:35:19 2016
This archive was generated by hypermail 2.1.8 : Mon Sep 12 2016 - 19:35:24 PDT