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 oxygen.vmoptions
located in the installation directory together with the launcher file called oxygen.exe
. If the file
oxygen.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
oxygen.vmoptions
must be:
-Xmx600m
If you start the application with the script
oxygen.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 right-click on the <oXygen/>
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
oxygen.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
oxygen.bat
on Windows,
oxygenMac.sh
on Mac OS X and
oxygen.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
oxygen.bat
like this:
java -Xmx600m -Dsun.java2d.noddraw=true ...
on Mac OS X the java command at the end of
oxygenMac.sh
should look like:
java "-Xdock:name=Oxygen"\ -Dcom.oxygenxml.editor.plugins.dir="$OXYGEN_HOME/plugins"\ -Xmx600m\
and on Linux the java command at the end of
oxygen.sh
should look like:
java -Xmx600m\
"-Dcom.oxygenxml.editor.plugins.dir=$OXYGEN_HOME/plugins"\