Java runtime options
Headless support
The composition components of the SDK can be used in an environment without a windows server by running Java in headless mode. This requires a Java version of 1.4 or later and the command line switch
-Djava.awt.headless=true
at the invocation of the java command.
Memory and large images
When generating very large images, it is necessary to increase the heap size to allow for greater memory usage if the following message appears:
"The image is too large, please increase the Java heap size."
It is possible to increase the Java heap size by modifying these runtime parameters:
java -Xms<initial heap size> -Xmx<maximum heap size>
Default values:
java -Xms32m -Xmx128m
For example:
java -Xms128m -Xmx256m or java -Xms128m -Xmx512m