cepsetjvmopt - JVM options set
cepsetjvmopt function [-xmx xmxSize] [-xms xmsSize] [-xxmp permSize] -e engineName
This command sets the JVM options of a CEP engine.
Specify the feature for which the JVM options are to be set.
High-speed filter
Complex event processing
This option is used to set the maximum value of the memory allocation pool.
If this option is omitted, the default (2048m) will be used.
If the value specified here is less than the value specified in the -xms option, an error message will be output when the CEP engine is started, and the start will fail.
The following characters can be specified as units:
To specify KB (kilobytes): "k" or "K"
To specify MB (megabytes): "m" or "M"
If the unit is omitted, the specification will be in bytes. Specify a value greater than 1 MB that is a multiple of 1024.
This option is used to set the initial value of the memory allocation pool.
If this option is omitted, the default (512m) will be used.
If the value specified here is less than 2624 KB, an error message will be output when the CEP engine is started, and the start will fail.
The following characters can be specified as units:
To specify KB (kilobytes): "k" or "K"
To specify MB (megabytes): "m" or "M"
If the unit is omitted, the specification will be in bytes. Specify a value greater than 1 MB that is a multiple of 1024.
This option is used to set the maximum value of the permanent generation area.
If this option is omitted, the default (192m) will be used.
If the value specified here is less than 20.75 MB, then 20.75 MB will be used.
The following characters can be specified as units:
To specify KB (kilobytes): "k" or "K"
To specify MB (megabytes): "m" or "M"
If the unit is omitted, the specification will be in bytes. Specify a value greater than 1 MB that is a multiple of 1024.
Specify the name of the CEP engine for which the JVM options are to be set.
The following status codes are returned:
Normal end
Abnormal end
Note
This command may be used for the running CEP engine, however, to apply settings, the target CEP engine must be restarted.
Example
Example of output at normal end
When the JVM options of the high-speed filter of a CEP engine (CepEngine1) are set:
# cepsetjvmopt filter -xmx 5120m -xms 256m -xxmp 96m -e CepEngine1 <ENTER>
Command cepsetjvmopt executed successfully.