Smile CDR v2023.02.PRE
On this page:

3.3Tuning Your Installation


This page describes environment settings that will lead to better overall performance.

3.3.1Memory Settings


Like all Java applications, Smile CDR relies on arguments passed to the Java process at startup to determine the memory characteristics it will have.

Memory settings are passed in by command line arguments that are set in a file named bin/setenv.

Within this file you will see an argument called JVMARGS with a setting resembling -Xmx2048m. This tells Java that it may use a maximum of 2048 MB of heap memory. This is an appropriate setting for a development environment; however, it is recommended to increase this setting in a production scenario.

A value of -Xmx4g or -Xmx8g may be more appropriate depending on the load you are placing on the server. Note that the JVM memory graphs in the Web Admin Console can be useful in determining how much memory is actually being used.

Note that these settings only apply to Smile CDR. smileutil runs in its own JVM as a discrete process dinstinct from Smile CDR, and documentation regarding smileutil memory settings can be found here.