jvm-* files

Several files for JVM configuration are included in Cassandra. The jvm-server.options file, and corresponding JDK specific files jvmN-server.options are the main file for settings that affect the operation of the Cassandra JVM on cluster nodes. The file includes startup parameters, general JVM settings such as garbage collection, and heap settings. Likewise, the jvm-clients.options and corresponding jvmN-clients.options files can be used to configure JVM settings for clients like nodetool and the sstable tools.

See each file for examples of settings.

The jvm-* files replace the cassandra-env.sh file used in Cassandra versions prior to Cassandra 3.0. The cassandra-env.sh bash script file is still useful if JVM settings must be dynamically calculated based on system settings. The jvm-* files only store static JVM settings.