JVM Settings in Properties Files
Check the engine properties file to ensure that all settings are appropriate for your platform.
Set the Heap Size as Needed
By default, the initial (–Xms) and maximum (–Xmx) heap size are set to 1GB for both TIBCO BusinessEvents and TIBCO BusinessEvents Decision Manager. Change the settings as needed to meet your requirements. For TIBCO BusinessEvents, the settings are in the BE_HOME/bin/be-engine.tra file. For TIBCO BusinessEvents Decision Manager they are in the BE_HOME/decisionmanager/eclipse/DecisionManager.ini file.
For example, if you want to run both TIBCO BusinessEvents Decision Manager and TIBCO BusinessEvents on a machine with 1GB memory, you might reduce the initial heap size setting (–Xms):
java.extended.properties=-server –Xms512m -Xmx1024m
As another example, if you use a machine with more memory, and you work with very large tables in TIBCO BusinessEvents Decision Manager, you might increase the TIBCO BusinessEvents Decision Manager heap size accordingly.
It can also be helpful to set the MaxPermSize as follows:
-XX:MaxPermSize=128m
Platform-Specific Settings
Some of the JVM settings do not work for all platforms, and some platforms use additional, platform-specific parameters. For example:
For 64 bit Sun JVM for Intel or AMD on Linux, use
JVM_LIB_PATH=%TIB_JAVA_HOME%/lib/amd64/server/libjvm.so
For 64 bit Sun JVM for Intel or AMD on Windows, use:
JVM_LIB_PATH=%TIB_JAVA_HOME%/lib/amd64/server/libjvm.dll
For AMD on Windows and 32 bit Sun JVM for Intel use:
JVM_LIB_PATH=%TIB_JAVA_HOME%/lib/i386/server/libjvm.dll
The IBM AIX platform uses parameters common to all JVMs, but does not use the -d64 parameter. AIX also uses additional parameters (using the format, -Xparameter).
Refer to the appropriate JVM reference manuals for the platform in question. For example, for AIX you could refer to the following resources.
http://www.ibm.com/developerworks/java/jdk/aix/j564/sdkguide.aix64.html
http://www.ibm.com/developerworks/java/jdk/aix/j532/sdkguide.aix32.html
Note that on AIX, you can determine the mode in which JVM is running using the following simple Java program:
System.getProperty("com.ibm.vm.bitmode");
It returns the following values:
* 32 - the JVM is running in 32-bit mode * 64 - the JVM is running in 64-bit mode