Memory configuration
Use to configure Java Virtual Machine (JVM) initial memory, maximum memory, and advanced properties in key-value pairs, in one of the following ways:
-XX:key=value
or
-Dkey=value
You must specify these properties in the configuration file.
Example format of the MemoryConfiguration.xml file:
<MemorySettings>
<InitSize>256</InitSize>
<MaxSize>1024</MaxSize>
<ExtendedProperties>
<Property name="-XX:MaxPermSize">128M</Property>
<Property name="-XX:MaxDirectMemorySize">1G</Property>
<Property name="-DProperty1">Value1</Property>
</ExtendedProperties>
</MemorySettings>
Examples when executing on Command Central
To update the memory settings for a display server:
sagcc update configuration data local Apama-displayserver-myDisplayServer
COMMON-MEMORY --input C:\MemoryConfiguration.xml
To update the memory settings for a data server:
sagcc update configuration data local Apama-dataserver-myDataServer
COMMON-MEMORY --input C:\MemoryConfiguration.xml
To fetch the memory settings of a display server:
sagcc get configuration data local Apama-displayserver-myDisplayServer
COMMON-MEMORY
To fetch the memory settings of a data server:
sagcc get configuration data local Apama-dataserver-myDataServer
COMMON-MEMORY