You are here

JVM settings

SkyVault generates a high proportion of temporary objects, both in client threads as well as in the background processes. To reduce the number of temporary objects that spill into the OldGen portion of the heap, you need to set the NewSize option as large as possible.

The following settings reduce the garbage collections and reveal (with GC printing and JMX tracing) that the OldGen was not growing noticeably over and above the permanent space allocated for caches. Cache sizes are still estimated top out around 520M. So, for a typical 32 bit installation with at least 2GB available for the VM, you can use the following settings:

JAVA_OPTS=  
-Xss1024K 
-Xms1G 
-Xmx2G 
-XX:MaxPermSize=128M 
Note: For JVMs that don't automatically run in server mode, add the -server option. The default behaviour of the JVMs depends on the your operating system and the version of Java on your machine.