Page 1 of 1
Transformation not exiting
Posted: Mon Feb 07, 2011 10:40 am
by james.buchanan
Any ideas on this?
I use one transformation to do all my transformations. Recently one file will no longer complete transformation (it has worked fine till now. Oxygen transforms it to the point where the file is outpuit to the Oxygen folder where I can open it and see that it is correct. But Oxygen won't complete the very last step that reads 'process ended with code 0'.
Re: Transformation not exiting
Posted: Mon Feb 07, 2011 1:11 pm
by adrian
Hello,
What sort of transformation scenario are you running in Oxygen? (XML Transformation with XSLT, XSLT Transformation, DITA OT Transformation, etc)?
Regards,
Adrian
Re: Transformation not exiting
Posted: Mon Feb 07, 2011 1:22 pm
by james.buchanan
XML Transformation with XSLT
Re: Transformation not exiting
Posted: Mon Feb 07, 2011 1:38 pm
by james.buchanan
Is this helpful:
Two colleagues have set up the same transformation scenario on their machines. Their builds of the file are totally successful so it must be an issue specific to my machine or instance of oxygen. I reinstalled Oxygen but that had no effect. Could it be a memory setting? I've noticed too that the transformation is quite slow. The file happens to be the biggest one in the current project but the XML is only 229K and the PDF output is circa 75 pages.
Re: Transformation not exiting
Posted: Mon Feb 07, 2011 1:56 pm
by adrian
OK so it's a transformation to PDF.
If you are using Apache FOP, you should adjust the memory that is used by FOP.
Go to Options -> Preferences -> XML -> XSLT-FO-XQuery -> FO Processors and increase the value of the option "Memory available to the built-in FOP". Don't go over 1/4 of your physical memory(e.g. 512MB if you have 2GB of RAM).
Also, you might want to enable verbose output for FOP: "Enable output to the built-in FOP", if you haven't already.
Regards,
Adrian
Re: Transformation not exiting
Posted: Mon Feb 07, 2011 2:03 pm
by james.buchanan
Hello
The problem is solved. We cleared the Temp folder and that fixed it. So it appears it was a caching problem. Simple and obvious in hindsight!
Thanks for the help.