Top
Interstage Big Data Complex Event Processing Server V1.0.0 User's Guide
Interstage

8.8 cepsetjvmopt

Name

cepsetjvmopt - JVM options set


Format
cepsetjvmopt function [-xmx xmxSize] [-xms xmsSize] [-xxmp permSize] -e engineName

Function description

This command sets the JVM options of a CEP engine.


Arguments
function

Specify the feature for which the JVM options are to be set.

filter

High-speed filter

cep

Complex event processing


-xmx xmxSize

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.


-xms xmsSize

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.


-xxmp permSize

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.


-e engineName

Specify the name of the CEP engine for which the JVM options are to be set.


End status

The following status codes are returned:

0

Normal end

8

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.