Configuring JVM Parameters
You can configure the required JVM parameters such as
the heap size in the jvm.options
file in the config/
directory
of your Hazelcast distribution. Use one option per line. You can also
use #
at the beginning of the line for comments.
For example, to start Hazelcast with a 8GB heap use the following content
in the jvm.options
file:
You can also use the JAVA_OPTS
environment variable
for ad-hoc configuration option. For example, to start Hazelcast
with a 8GB heap, you can use the following command:
You can use the JAVA_OPTS
also to pass additional properties to Hazelcast: