Permalink
Browse files

Add CMSClassUnloadingEnabled JVM option

Patch by Jonathan Lacefield, reviewed by brandonwilliams for
CASSANDRA-6541
  • Loading branch information...
1 parent e5b92d8 commit f08ae394f0a3ab31260eb0a808160663a857f796 @driftx driftx committed Feb 28, 2014
Showing with 4 additions and 0 deletions.
  1. +1 −0 CHANGES.txt
  2. +3 −0 conf/cassandra-env.sh
View
@@ -1,4 +1,5 @@
1.2.16
+ * Add CMSClassUnloadingEnabled JVM option (CASSANDRA-6541)
* Catch memtable flush exceptions during shutdown (CASSANDRA-6735)
* Don't attempt cross-dc forwarding in mixed-version cluster with 1.1
(CASSANDRA-6732)
View
@@ -160,6 +160,9 @@ then
JVM_OPTS="$JVM_OPTS -javaagent:$CASSANDRA_HOME/lib/jamm-0.2.5.jar"
fi
+# some JVMs will fill up their heap when accessed via JMX, see CASSANDRA-6541
+JVM_OPTS="$JVM_OPTS -XX:+CMSClassUnloadingEnabled"
+
# enable thread priorities, primarily so we can give periodic tasks
# a lower priority to avoid interfering with client workload
JVM_OPTS="$JVM_OPTS -XX:+UseThreadPriorities"

0 comments on commit f08ae39

Please sign in to comment.