Build from command line using new publishing template
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 316
- Joined: Wed Jun 17, 2015 10:19 am
Build from command line using new publishing template
Post by ann.jensen »
Hi,
Prior to release 20 of Oxygen XML Author and WebHelp, I had used dita.bat command in my command line window with reference to a .properties file to build my DITA content out to webhelp responsive. My .properties file had an entry as follows
Now that I am using a publishing template, can I add the same entry for JVM memory to the .opt file in a parameter tag?
I have tried this but it is taking hours for my build to complete from the command line.
Any advice appreciated,
Regards,
Ann
Prior to release 20 of Oxygen XML Author and WebHelp, I had used dita.bat command in my command line window with reference to a .properties file to build my DITA content out to webhelp responsive. My .properties file had an entry as follows
Code: Select all
baseJVMArgLine=-Xmx4000m
Code: Select all
<parameter name="baseJVMArgLine" value="Xmx4000m"/>
Any advice appreciated,
Regards,
Ann
-
- Posts: 404
- Joined: Thu Aug 21, 2003 11:36 am
- Location: Craiova
- Contact:
Re: Build from command line using new publishing template
Post by radu_pisoi »
Hi,
No, you cannot specify JVM parameters in a publishing template.
Also, in a publishing template it is not recommended to specify an input/output parameter (such as the input Map, DITAVAL file, or temporary directory).
No, you cannot specify JVM parameters in a publishing template.
Also, in a publishing template it is not recommended to specify an input/output parameter (such as the input Map, DITAVAL file, or temporary directory).
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 316
- Joined: Wed Jun 17, 2015 10:19 am
Re: Build from command line using new publishing template
Post by ann.jensen »
Thanks. So where should i specify JVM parameters for a command line build?
Regards,
Ann
Regards,
Ann
-
- Posts: 404
- Joined: Thu Aug 21, 2003 11:36 am
- Location: Craiova
- Contact:
Re: Build from command line using new publishing template
Post by radu_pisoi »
Hi,
Please see the Increasing Java memory allocation topic from the DITA-OT documentation.Thanks. So where should i specify JVM parameters for a command line build?
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 316
- Joined: Wed Jun 17, 2015 10:19 am
Re: Build from command line using new publishing template
Post by ann.jensen »
Hi,
My ANT_OPTS env variable is set to -Xmx6000m -Xms512m in my system environment variables for Windows 10.
I have removed the JVM setting from my publishing template
But this doesn't seem to be sufficient for building from command line using WebHelp V 20. I am still getting
Am I missing a setting somewhere to increase memory usage for DITA-OT?
Regards,
Ann
My ANT_OPTS env variable is set to -Xmx6000m -Xms512m in my system environment variables for Windows 10.
I have removed the JVM setting from my publishing template
But this doesn't seem to be sufficient for building from command line using WebHelp V 20. I am still getting
Code: Select all
java.lang.OutOfMemoryError: GC overhead limit exceeded
Regards,
Ann
-
- Posts: 9444
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Build from command line using new publishing template
Hi Ann,
So you are using this way of starting the publishing process, right?
http://www.dita-ot.org/2.5/getting-star ... mmand.html
Maybe you can pass the "-v" argument to the "dita" command to be more verbose and send us (support@oxygenxml.com) the entire console output received in the console window.
Regards,
Radu
So you are using this way of starting the publishing process, right?
http://www.dita-ot.org/2.5/getting-star ... mmand.html
Maybe you can pass the "-v" argument to the "dita" command to be more verbose and send us (support@oxygenxml.com) the entire console output received in the console window.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 316
- Joined: Wed Jun 17, 2015 10:19 am
Re: Build from command line using new publishing template
Post by ann.jensen »
Hi Radu,
I actually did yesterday to Bogdan
Regards,
Ann
I actually did yesterday to Bogdan

Regards,
Ann
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service