[xep-support] Generating DITA PDF from oXygen

Danny Vint dan.vint at workday.com
Mon Sep 12 10:48:41 PDT 2016


 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/build.xml:150: The following error occurred while executing this line:
/Applications/oxygen/frameworks/dita/workday-dita-ot/plugins/org.dita.pdf2/build_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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20160912/0871f1a1/attachment.html>


More information about the Xep-support mailing list