Currently the Cassandra charm will always use the default heap-size hard-coded in the Cassandra startup scripts.
This change introduces the heap_size configuration, which accepts a valid JVM memory size, and passes it to the Cassandra bootstrap over the JVM_OPTS environment variable.
Currently the Cassandra charm will always use the default heap-size hard-coded in the Cassandra startup scripts.
This change introduces the
heap_size
configuration, which accepts a valid JVM memory size, and passes it to the Cassandra bootstrap over theJVM_OPTS
environment variable.