Setting a parameter in the startup script

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 syncroSVNClient.vmoptions located in the installation directory together with the launcher file called syncroSVNClient.exe . If the file syncroSVNClient.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 syncroSVNClient.vmoptions must be:

-Xmx600m

If you start the application with the script syncroSVNClient.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 Syncro SVN Client 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 syncroSVNClient.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 syncroSVNClient.bat on Windows, syncroSVNClientMac.sh on Mac OS X and syncroSVNClient.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 syncroSVNClient.bat like this:

java -Xmx600m -Dsun.java2d.noddraw=true ...

on Mac OS X the java command at the end of syncroSVNClientMac.sh should look like:

java "-Xdock:name=SyncroSVNClient"\
 -Dcom.oxygenxml.editor.plugins.dir="$SYNCRO_SVN_CLIENT_HOME/plugins"\
 -Xmx600m\

and on Linux the java command at the end of syncroSVNClient.sh should look like:

java -Xmx600m\
 "-Dcom.oxygenxml.editor.plugins.dir=$SYNCRO_SVN_CLIENT_HOME/plugins"\