Product Documentation


Previous Topic

Next Topic

Java 1.7 uses large amount of virtual memory at startup

The Server will potentially use a very large amount of virtual memory at startup when it is configured to use Java version 1.7. This is because the default behavior of the 1.7 JVM (64-bit JVM on Windows) is to reserve 1/4 of the total physical memory. This does not affect physical memory usage. When looking at the Windows Committed memory or Virtual memory usage, ctreesql may show a very large value at startup if the JVM is configured.

The JVM heap size can be limited with the following Server configuration keyword:

; Limit JVM maximum heap to 256 MB


The maximum heap size should be tuned based on how the Stored procedures are written and used (256MB should be enough for simple usage). See below for details on Java Tuning.