Optimize 10.7 | webMethods Optimize Documentation | Configuring BAM | Managing webMethods Optimize Environments | Configuring Logical Servers | Analytic Engine Clustering | Terracotta Configuration Guidelines for Analytic Engine Clustering | Adjusting Java Virtual Machine Arguments
 
Adjusting Java Virtual Machine Arguments
There are several JVM arguments that may be required in the Terracotta startup script in order for the TSA to function optimally with an Analytic Engine cluster. These include settings for security and the appropriate path to the TSA install bin folder. These changes are implemented in the start-tc-server.bat file (Windows) or start-tc-server.sh file (Linux).
Note that the instructions in this section assume that you have installed and configured a Terracotta Server Array as appropriate for your system needs in accordance with the Terracotta instructions.
Before making these changes, ensure that the path to the tc.server.sh/tc.server.bat file is correct for your system. This path varies according to each system installation and is specified by the <log> tag in the tc-config.xml file.
*The following Java command (-Xmx4g -Xms4g) changes the default available RAM from 1G to 4G. You can set it to any value that is appropriate for your system, but testing has shown that 4G provides optimal performance for most typical clustered systems.
*The JVM -XX:+UseParallelGC and -XX:+UseParallelOldGC arguments will enhance performance for most systems. You should consider adding one, but not both, of these arguments if you are concerned about performance.
*The XX:+HeapDumpOnOutOfMemoryError command is a recommended addition and makes it easier for users to debug problems if the TSA malfunctions for some reason.