[ 
https://issues.apache.org/jira/browse/CASSANDRA-6541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13916942#comment-13916942
 ] 

Michael Shuler commented on CASSANDRA-6541:
-------------------------------------------

since I was there..
$ /opt/jdk1.8.0/bin/java -XX:+CMSClassUnloadingEnabled -XX:+PrintFlagsFinal 
-version |grep CMSClassUnloadingEnabled
     bool CMSClassUnloadingEnabled                 := true            {product}
java version "1.8.0"
Java(TM) SE Runtime Environment (build 1.8.0-b128)
Java HotSpot(TM) 64-Bit Server VM (build 25.0-b69, mixed mode)

> New versions of Hotspot create new Class objects on every JMX connection 
> causing the heap to fill up with them if CMSClassUnloadingEnabled isn't set.
> -----------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-6541
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6541
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Config
>            Reporter: jonathan lacefield
>            Assignee: Brandon Williams
>            Priority: Minor
>             Fix For: 1.2.16, 2.0.6, 2.1 beta2
>
>
> Newer versions of Oracle's Hotspot JVM , post 6u43 (maybe earlier) and 7u25 
> (maybe earlier), are experiencing issues with GC and JMX where heap slowly 
> fills up overtime until OOM or a full GC event occurs, specifically when CMS 
> is leveraged.  Adding:
> {noformat}
> JVM_OPTS="$JVM_OPTS -XX:+CMSClassUnloadingEnabled"
> {noformat}
> The the options in cassandra-env.sh alleviates the problem.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to