On the Windows platform if you start the application by double-clicking on the Start
menu shortcut/Desktop shortcut in order to set a startup parameter you have to add a line
with the parameter to the file
author.vmoptions
located in the installation directory together with the launcher file called
author.exe
. If the file
author.vmoptions
does not exist yet in the folder of the launcher file you have to create it
there. For example for setting the maximum amount of Java memory to 600 MB the content of
the file
author.vmoptions
must be:
-Xmx600m
If you start the application with the script
author.bat
you have to add or modify the parameter to the java command at the end of the
script. For example for setting the maximum amount of Java memory to 600 MB the java
command should start with:
java -Xmx600m -Dsun.java2d.noddraw=true ...
On the Mac OS X platform to add or modify a startup parameter you have to Ctrl-click
on the
<oXygen/> XML Author
application icon in Finder, in the pop-up menu
select Show Package Contents, then in the Contents
directory you edit the file Info.plist
: in the key
VMOptions you modify the parameter if it already exists in that key
or you add it after the model of the existing parameters inside that key.
On the Linux platform you have to create a file called
author.vmoptions
if it does not exist already and specify the parameter exactly as in the case of
the .vmoptions
file on the Windows platform.
If you use the All platforms distribution you have to add or
modify the startup parameter that you want to set in the java command line at the end of
the startup script
author.bat
on Windows,
authorMac.sh
on Mac OS X and
author.sh
on Linux. All these files are located in the installation directory. For example
for setting the maximum amount of Java memory to 600 MB on Windows the -Xmx parameter must
be modified in the java command at the end of
author.bat
like this:
java -Xmx600m -Dsun.java2d.noddraw=true ...
on Mac OS X the java command at the end of
authorMac.sh
should look like:
java "-Xdock:name=Author"\ -Dcom.oxygenxml.editor.plugins.dir="$AUTHOR_HOME/plugins"\ -Xmx600m\
and on Linux the java command at the end of
author.sh
should look like:
java -Xmx600m\
"-Dcom.oxygenxml.editor.plugins.dir=$AUTHOR_HOME/plugins"\