<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>By the way, setting memory to 12G ( even if you have it) is about enough memory to create a 24,000 page document.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>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.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>Kevin Brown<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>Executive Vice President, Sales & Marketing RenderX, Inc.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>(650) 327-1000 Direct<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>(650) 328-8008 Fax<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>(925) 395-1772 Mobile<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>skype:kbrown01<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><a href="mailto:kevin@renderx.com"><span style='color:#0563C1'>kevin@renderx.com</span></a><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><a href="mailto:sales@renderx.com"><span style='color:#0563C1'>sales@renderx.com</span></a><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><a href="http://www.renderx.com/"><span style='color:#0563C1'>http://www.renderx.com</span></a> <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>From:</span></b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> David Hollis [mailto:dhollis@aandoconsultancy.ltd.uk] <br><b>Sent:</b> Monday, September 12, 2016 3:43 PM<br><b>To:</b> RenderX Community Support List <xep-support@renderx.com>; Danny Vint <dan.vint@workday.com><br><b>Cc:</b> kevin@renderx.com<br><b>Subject:</b> Re: [xep-support] Generating DITA PDF from oXygen<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>Hi Danny,<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>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.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>To use XEP with the DITA-OT, you need to set both JVM AND maxJavaMemory.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>To quote from the thread: The values I used were: maxJavaMemory=1024m and JVM=-Xmx1536m<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>You can use the oXygen DITA-OT interface to add maxJavaMemory.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Cranking up JVM to 10G or 12G is what I did, and it's wholly unnecessary.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>The default for maxJavaMemory is something like 512m, and it's not enough.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>HTH,<o:p></o:p></p></div><div><p class=MsoNormal>David<o:p></o:p></p></div><div><p class=MsoNormal><br><br><br><o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><div><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Calibri",sans-serif'>By forked process I think you mean the setting on the oXygen transformation under Advanced JVM arguments. I have this set to –Xmx10g<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Calibri",sans-serif'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Calibri",sans-serif'>By Java environment, I believe this is the settings that start oXygen, so in my case the oxygenMac.sh file has this<o:p></o:p></span></p></div><div><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Calibri",sans-serif'>"${OXYGEN_JAVA}" -Xdock:name="Oxygen XML Editor"\<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Calibri",sans-serif'> -Xdock:icon="$OXYGEN_HOME/Oxygen XML Editor.app/Contents/Resources/Oxygen.icns"\<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Calibri",sans-serif'> -Dcom.oxygenxml.editor.plugins.dir="$OXYGEN_HOME/plugins"\<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Calibri",sans-serif'> -Dcom.oxygenxml.app.descriptor=ro.sync.exml.EditorFrameDescriptor\<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Calibri",sans-serif'> -Xmx12G\<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Calibri",sans-serif'> -XX:-OmitStackTraceInFastThrow\<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Calibri",sans-serif'> -XX:SoftRefLRUPolicyMSPerMB=10\<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Calibri",sans-serif'> -XX:MaxPermSize=256m\<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Calibri",sans-serif'> -cp "$CP" ro.sync.exml.Oxygen "$@"<o:p></o:p></span></p></div></div><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Calibri",sans-serif'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Calibri",sans-serif'>I’m using the default xep shell script<o:p></o:p></span></p></div></div><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Calibri",sans-serif'><o:p> </o:p></span></p></div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-family:"Calibri",sans-serif'>From:<span class=apple-converted-space> </span></span></b><span style='font-family:"Calibri",sans-serif'>Xep-support <<a href="mailto:xep-support-bounces@renderx.com"><span style='color:#954F72'>xep-support-bounces@renderx.com</span></a>> on behalf of "<a href="mailto:kevin@renderx.com"><span style='color:#954F72'>kevin@renderx.com</span></a>" <<a href="mailto:kevin@renderx.com"><span style='color:#954F72'>kevin@renderx.com</span></a>><br><b>Organization:<span class=apple-converted-space> </span></b>RenderX<br><b>Reply-To:<span class=apple-converted-space> </span></b>"<a href="mailto:kevin@renderx.com"><span style='color:#954F72'>kevin@renderx.com</span></a>" <<a href="mailto:kevin@renderx.com"><span style='color:#954F72'>kevin@renderx.com</span></a>>, RenderX Community Support List <<a href="mailto:xep-support@renderx.com"><span style='color:#954F72'>xep-support@renderx.com</span></a>><br><b>Date:<span class=apple-converted-space> </span></b>Monday, September 12, 2016 at 11:12 AM<br><b>To:<span class=apple-converted-space> </span></b>'RenderX Community Support List' <<a href="mailto:xep-support@renderx.com"><span style='color:#954F72'>xep-support@renderx.com</span></a>><br><b>Subject:<span class=apple-converted-space> </span></b>[xep-support] Re: Generating DITA PDF from oXygen<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Calibri",sans-serif'><o:p> </o:p></span></p></div><div><div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>There are two settings for maxmemory, one if for the Java environment and the other is for a forked RenderX process.</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>What are you setting these to?</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>One is maxJavaMemory and one is maxmemory.</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>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="><span style='color:#954F72'>https://github.com/dita-ot/dita-ot/issues/2415#issuecomment-226747995</span></a><span class=apple-converted-space> </span>(specifically this resolution)</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>Kevin Brown</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>Executive Vice President, Sales & Marketing RenderX, Inc.</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>(650) 327-1000 Direct</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>(650) 328-8008 Fax</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>(925) 395-1772 Mobile</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><a href="skype:kbrown01">skype:kbrown01</a></span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><a href="mailto:kevin@renderx.com"><span style='color:#0563C1'>kevin@renderx.com</span></a></span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><a href="mailto:sales@renderx.com"><span style='color:#0563C1'>sales@renderx.com</span></a></span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><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="><span style='color:#0563C1'>http://www.renderx.com</span></a></span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'> </span><o:p></o:p></p></div><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in;z-index:auto'><div><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>From:</span></b><span class=apple-converted-space><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> </span></span><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>Xep-support [<a href="mailto:xep-support-bounces@renderx.com"><span style='color:#954F72'>mailto:xep-support-bounces@renderx.com</span></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"><span style='color:#954F72'>xep-support@renderx.com</span></a><br><b>Subject:</b><span class=apple-converted-space> </span>[xep-support] Generating DITA PDF from oXygen</span><o:p></o:p></p></div></div></div><div><p class=MsoNormal> <o:p></o:p></p></div><div><div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Helvetica",sans-serif'> When I try and run XEP within the DITA PDF transformation I get the following error:</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Helvetica",sans-serif'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Helvetica",sans-serif'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;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</span><o:p></o:p></p></div></div><div><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Calibri",sans-serif'> </span><o:p></o:p></p></div></div><div><div class=MsoNormal align=center style='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><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Calibri",sans-serif'> </span><o:p></o:p></p></div></div><div><div><p class=MsoNormal><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?</span><o:p></o:p></p></div></div><div><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Calibri",sans-serif'> </span><o:p></o:p></p></div></div><div><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Calibri",sans-serif'>..dan</span><o:p></o:p></p></div></div></div></div></div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Calibri",sans-serif'>_______________________________________________<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><o:p></o:p></span></p></div></blockquote></div><p class=MsoNormal><o:p> </o:p></p></div></body></html>