<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>Hi Danny,</div><div><br></div><div>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.</div><div><br></div><div>To use XEP with the DITA-OT, you need to set both JVM AND maxJavaMemory.</div><div><br></div><div>To quote from the thread: The values I used were: maxJavaMemory=1024m and JVM=-Xmx1536m</div><div><br></div><div>You can use the oXygen DITA-OT interface to add maxJavaMemory.</div><div><br></div><div>Cranking up JVM to 10G or 12G is what I did, and it's wholly unnecessary.</div><div><br></div><div>The default for maxJavaMemory is something like 512m, and it's not enough.</div><div><br></div><div>HTH,</div><div>David</div><div><br><br class="Apple-interchange-newline"><blockquote type="cite"><div style="font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 14px; font-family: Calibri, sans-serif;"><div><div>By forked process I think you mean the setting on the oXygen transformation under Advanced JVM arguments. I have this set to –Xmx10g</div><div><br></div><div>By Java environment, I believe this is the settings that start oXygen, so in my case the oxygenMac.sh file has this</div><div><div>"${OXYGEN_JAVA}" -Xdock:name="Oxygen XML Editor"\</div><div> -Xdock:icon="$OXYGEN_HOME/Oxygen XML Editor.app/Contents/Resources/Oxygen.icns"\</div><div> -Dcom.oxygenxml.editor.plugins.dir="$OXYGEN_HOME/plugins"\</div><div> -Dcom.oxygenxml.app.descriptor=ro.sync.exml.EditorFrameDescriptor\</div><div> -Xmx12G\</div><div> -XX:-OmitStackTraceInFastThrow\</div><div> -XX:SoftRefLRUPolicyMSPerMB=10\</div><div> -XX:MaxPermSize=256m\</div><div> -cp "$CP" ro.sync.exml.Oxygen "$@"</div></div><div><br></div><div>I’m using the default xep shell script</div><div><div id="MAC_OUTLOOK_SIGNATURE"></div></div></div><div><br></div><span id="OLK_SRC_BODY_SECTION"><div style="font-family: Calibri; font-size: 12pt; text-align: left; border-width: 1pt medium medium; border-style: solid none none; padding: 3pt 0in 0in; border-top-color: rgb(181, 196, 223);"><span style="font-weight: bold;">From:<span class="Apple-converted-space"> </span></span>Xep-support <<a href="mailto:xep-support-bounces@renderx.com" style="color: rgb(149, 79, 114); text-decoration: underline;">xep-support-bounces@renderx.com</a>> on behalf of "<a href="mailto:kevin@renderx.com" style="color: rgb(149, 79, 114); text-decoration: underline;">kevin@renderx.com</a>" <<a href="mailto:kevin@renderx.com" style="color: rgb(149, 79, 114); text-decoration: underline;">kevin@renderx.com</a>><br><span style="font-weight: bold;">Organization:<span class="Apple-converted-space"> </span></span>RenderX<br><span style="font-weight: bold;">Reply-To:<span class="Apple-converted-space"> </span></span>"<a href="mailto:kevin@renderx.com" style="color: rgb(149, 79, 114); text-decoration: underline;">kevin@renderx.com</a>" <<a href="mailto:kevin@renderx.com" style="color: rgb(149, 79, 114); text-decoration: underline;">kevin@renderx.com</a>>, RenderX Community Support List <<a href="mailto:xep-support@renderx.com" style="color: rgb(149, 79, 114); text-decoration: underline;">xep-support@renderx.com</a>><br><span style="font-weight: bold;">Date:<span class="Apple-converted-space"> </span></span>Monday, September 12, 2016 at 11:12 AM<br><span style="font-weight: bold;">To:<span class="Apple-converted-space"> </span></span>'RenderX Community Support List' <<a href="mailto:xep-support@renderx.com" style="color: rgb(149, 79, 114); text-decoration: underline;">xep-support@renderx.com</a>><br><span style="font-weight: bold;">Subject:<span class="Apple-converted-space"> </span></span>[xep-support] Re: Generating DITA PDF from oXygen<br></div><div><br></div><div><div lang="EN-US" link="#0563C1" vlink="#954F72"><div class="WordSection1" style="page: WordSection1;"><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">There are two settings for maxmemory, one if for the Java environment and the other is for a forked RenderX process.<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">What are you setting these to?<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"><o:p> </o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">One is maxJavaMemory and one is maxmemory.<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"><o:p> </o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">See this long thread here:<span class="Apple-converted-space"> </span><a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_dita-2Dot_dita-2Dot_issues_2415-23issuecomment-2D226747995&d=DQMFaQ&c=DS6PUFBBr_KiLo7Sjt3ljp5jaW5k2i9ijVXllEdOozc&r=VLHbLnitBO9ng4PWJj7KT8H2FTAG8LDGvDhs-37CHTg&m=qo8LwLNH_bFn0T7NG3vofri7QoPr0xlaM_F_SCbPpMg&s=Pi_1vqHrXCf2l_mdh5ipP4vw8hRDqsWj9HHiOtdEFgs&e=" style="color: rgb(149, 79, 114); text-decoration: underline;">https://github.com/dita-ot/dita-ot/issues/2415#issuecomment-226747995</a><span class="Apple-converted-space"> </span>(specifically this resolution)<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"><o:p> </o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Kevin Brown<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Executive Vice President, Sales & Marketing RenderX, Inc.<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">(650) 327-1000 Direct<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">(650) 328-8008 Fax<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">(925) 395-1772 Mobile<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"><a href="skype:kbrown01">skype:kbrown01</a><o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"><a href="mailto:kevin@renderx.com" style="color: rgb(149, 79, 114); text-decoration: underline;"><span style="color: rgb(5, 99, 193);">kevin@renderx.com</span></a><o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"><a href="mailto:sales@renderx.com" style="color: rgb(149, 79, 114); text-decoration: underline;"><span style="color: rgb(5, 99, 193);">sales@renderx.com</span></a><o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"><a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.renderx.com_&d=DQMFaQ&c=DS6PUFBBr_KiLo7Sjt3ljp5jaW5k2i9ijVXllEdOozc&r=VLHbLnitBO9ng4PWJj7KT8H2FTAG8LDGvDhs-37CHTg&m=qo8LwLNH_bFn0T7NG3vofri7QoPr0xlaM_F_SCbPpMg&s=EPUI4dBuUj0xx6vWwuIoLzmYi9ZNv7Gpkh13Jb1HAqw&e=" style="color: rgb(149, 79, 114); text-decoration: underline;"><span style="color: rgb(5, 99, 193);">http://www.renderx.com</span></a><o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"><o:p> </o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"><o:p> </o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"><o:p> </o:p></span></div><div><div style="border-style: solid none none; border-top-color: rgb(225, 225, 225); border-top-width: 1pt; padding: 3pt 0in 0in; position: static; z-index: auto;"><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><b><span style="font-size: 11pt; font-family: Calibri, sans-serif;">From:</span></b><span style="font-size: 11pt; font-family: Calibri, sans-serif;"><span class="Apple-converted-space"> </span>Xep-support [<a href="mailto:xep-support-bounces@renderx.com" style="color: rgb(149, 79, 114); text-decoration: underline;">mailto:xep-support-bounces@renderx.com</a>]<span class="Apple-converted-space"> </span><b>On Behalf Of<span class="Apple-converted-space"> </span></b>Danny Vint<br><b>Sent:</b><span class="Apple-converted-space"> </span>Monday, September 12, 2016 10:49 AM<br><b>To:</b><span class="Apple-converted-space"> </span><a href="mailto:xep-support@renderx.com" style="color: rgb(149, 79, 114); text-decoration: underline;">xep-support@renderx.com</a><br><b>Subject:</b><span class="Apple-converted-space"> </span>[xep-support] Generating DITA PDF from oXygen<o:p></o:p></span></div></div></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><o:p> </o:p></div><div><div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 9pt; font-family: Helvetica, sans-serif;"> When I try and run XEP within the DITA PDF transformation I get the following error:<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 9pt; font-family: Helvetica, sans-serif;"><o:p> </o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 9pt; font-family: Helvetica, sans-serif;"><o:p> </o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 9pt; font-family: Helvetica, sans-serif;">transform.fo2pdf.xep.test-use:<br><br>transform.fo2pdf.xep.init:<br><br>transform.fo2pdf.xep:<br> [java] Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded<br> [java] at com.renderx.util.List.snoc(Unknown Source)<br> [java] at com.renderx.util.List.append(Unknown Source)<br> [java] at com.renderx.xep.cmp.ListContext.gen(Unknown Source)<br> [java] at com.renderx.xep.cmp.FlowHandler.endElement(Unknown Source)<br> [java] at com.renderx.xep.cmp.SequenceHandler.endElement(Unknown Source)<br> [java] at com.renderx.xep.cmp.RootHandler.endElement(Unknown Source)<br> [java] at com.renderx.xep.pre.BidiResolver.endElement(Unknown Source)<br> [java] at com.renderx.xep.pre.FOHandler.callEndHandler(Unknown Source)<br> [java] at com.renderx.xep.pre.FOHandler.callEndHandler(Unknown Source)<br> [java] at com.renderx.xep.pre.FOHandler.endElement(Unknown Source)<br> [java] at com.renderx.xep.pre.FOPreprocessor.endElement(Unknown Source)<br> [java] at com.renderx.sax.SAXStorage$EndElementRecord.play(Unknown Source)<br> [java] at com.renderx.sax.SAXStorage.play(Unknown Source)<br> [java] at com.renderx.xep.FormatterCore$ContentHandlerDriver.endDocument(Unknown Source)<br> [java] at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:508)<br> [java] at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)<br> [java] at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)<br> [java] at com.renderx.xep.FormatterCore.render(Unknown Source)<br> [java] at com.renderx.xep.FormatterImpl.render(Unknown Source)<br> [java] at com.renderx.xep.FormatterImpl.render(Unknown Source)<br> [java] at com.idiominc.ws.opentopic.fo.xep.Runner.run(Runner.java:100)<br> [java] at com.idiominc.ws.opentopic.fo.xep.Runner.main(Runner.java:60)<br><br>BUILD FAILED<br>/Applications/oxygen/frameworks/dita/workday-dita-ot/build.xml:44: The following error occurred while executing this line:<br>/Applications/oxygen/frameworks/dita/workday-dita-ot/plugins/org.dita.pdf2/build.xml:150: The following error occurred while executing this line:<br>/Applications/oxygen/frameworks/dita/workday-dita-ot/plugins/org.dita.pdf2/build_xep.xml:106: Java returned: 1<br><br>Total time: 15 minutes 41 seconds<o:p></o:p></span></div></div><div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 10.5pt; font-family: Calibri, sans-serif;"><o:p> </o:p></span></div></div><div><div class="MsoNormal" align="center" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; text-align: center;"><span style="font-size: 10.5pt; font-family: Calibri, sans-serif;"><hr size="2" width="100%" align="center"></span></div></div><div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 10.5pt; font-family: Calibri, sans-serif;"><o:p> </o:p></span></div></div><div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 10.5pt; font-family: Calibri, sans-serif;">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?<o:p></o:p></span></div></div><div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 10.5pt; font-family: Calibri, sans-serif;"><o:p> </o:p></span></div></div><div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 10.5pt; font-family: Calibri, sans-serif;">..dan<o:p></o:p></span></div></div></div></div></div></div></span>_______________________________________________<br>(*) To unsubscribe, please visit <a href="http://lists.renderx.com/mailman/options/xep-support">http://lists.renderx.com/mailman/options/xep-support</a><br>(*) By using the Service, you expressly agree to these Terms of Service <a href="http://w">http://w</a><br><a href="http://ww.renderx.com/terms-of-service.html">ww.renderx.com/terms-of-service.html</a></div></blockquote></div><br></body></html>