Java JRE Options
For more details about the RAM usage please read the following page.
Windows
On Windows when starting icCube using the icCube.exe, the file contains the initial properties for the JAVA virtual machine.
JRE Memory
You can for example specify the maximum memory usage as following:
Virtual Machine Parameters=-Xmx768M ...
JRE Version
Specific JRE version : by default a JRE 1.6 is search for but you can override this setting and specify a specific version using the "Preferred versions" property. The following example is choosing the version 1.6.0_20:
[Java Runtime Environment]
Maximum Version=any
JVM Source=favor_JRE
JVM Type=favor_server
Virtual Machine Parameters=-DicCube.install="C:\Program Files (x86)\icCube\2.0.3\"
Preferred versions=1.6.0_20
Minimum Version=1.6
Main Class=crazydev.iccube.server.IcCubeServer
Alternatively, you can specify a path to the JRE you'd like to use:
[Java Runtime Environment]
JRE Path="C:\Program Files\Java\jdk1.6.0_20\jre"
When using icCube.bat, the setup is similar to the one used on Unix as described below.
Mac OS
Edit the file Info.plist of the application bundle icCube.app as following:
<key>Java</key>
<dict>
<key>VMOptions</key><string>-Xmx768M</string>
Unix
On Unix, the shell script is used to start the icCube server. This is the place to specify your .
JAVA_OPTS="-Xmx768M ..."
Next chapter : Authentication describes how to configure the authentication service.