Setting Gateway daemon JVM options
Startup options are used to set the properties of the Gateway daemon JVM, such as heap size and Java™ properties.
UNIX and Linux
When starting the
Gateway daemon in console mode, JVM options can be specified in the
parameters passed to the ctgstart command. Each
JVM option must be prefixed with
-j. For more information
see Starting the Gateway daemon in console mode. For example, to set the
maximum JVM heap size to 512MB: ctgstart -j-Xmx512MWhen
running the Gateway daemon as a background process, JVM options can
be specified in the CTGD_PARAMS variable in the ctgd configuration
file ctgd.conf. Each JVM option must be prefixed
with -j. For more information see Running the Gateway daemon as a background process. For example, to set the maximum
JVM heap size to 512MB:
CTGD_PARAMS=-j-Xmx512MWindows
JVM
options can be specified in the parameters set using the ctgservice command.
Each JVM option must be prefixed with -j, and all
options must be prefixed with -A when using the ctgservice command.
For more information see ctgservice command reference.
For
example, to set the maximum JVM heap size to 512MB:
ctgservice -R -A-j-Xmx512M