Re: Cassandra 082 - Large swap memory
Cassandra process has 63.5 GBÂ virtual size. I mention about RES column in top. RES is 8.3G. Very large than 2.5G Used Memory Used show in JConsole. https://issues.apache.org/jira/browse/CASSANDRA-2868 But note that RSS = heap size does not imply memory leak, although it is consistent with it. Resident pages will be counted towards the resident size of the process, so that you can see high resident amounts even without memory leaks. (E.g. observe results with https://github.com/scode/alloctest) -- / Peter Schuller (@scode on twitter)
Re: Cassandra 082 - Large swap memory
On Thu, Aug 25, 2011 at 11:42 PM, King JKing beuk...@gmail.com wrote: Dear Jonathan, Cassandra process has 63.5 GBÂ virtual size. I mention about RES column in top. RES is 8.3G. Very large than 2.5G Used Memory Used show in JConsole. https://issues.apache.org/jira/browse/CASSANDRA-2868 -Brandon
Cassandra 082 - Large swap memory
Dear all, My Cassandra 082 server had very large swap memory. JConsole show memory used just 2.9GB. But htop (top) show Cassandra process take 8700MB. Here is my config: MAX_HEAP_SIZE=6G HEAP_NEWSIZE=400M JVM_OPTS=$JVM_OPTS -XX:+UseParNewGC JVM_OPTS=$JVM_OPTS -XX:+UseConcMarkSweepGC JVM_OPTS=$JVM_OPTS -XX:+CMSParallelRemarkEnabled JVM_OPTS=$JVM_OPTS -XX:SurvivorRatio=8 JVM_OPTS=$JVM_OPTS -XX:MaxTenuringThreshold=2 JVM_OPTS=$JVM_OPTS -XX:CMSInitiatingOccupancyFraction=75 JVM_OPTS=$JVM_OPTS -XX:+UseCMSInitiatingOccupancyOnly JConsole also show Memory Pool Par Survivor Space always full (41MB/50MB) and never reduce. Could you help me? Thank a lot for support.
Re: Cassandra 082 - Large swap memory
Sounds like http://wiki.apache.org/cassandra/FAQ#mmap On Thu, Aug 25, 2011 at 10:36 PM, King JKing beuk...@gmail.com wrote: Dear all, My Cassandra 082 server had very large swap memory. JConsole show memory used just 2.9GB. But htop (top) show Cassandra process take 8700MB. Here is my config: MAX_HEAP_SIZE=6G HEAP_NEWSIZE=400M JVM_OPTS=$JVM_OPTS -XX:+UseParNewGC JVM_OPTS=$JVM_OPTS -XX:+UseConcMarkSweepGC JVM_OPTS=$JVM_OPTS -XX:+CMSParallelRemarkEnabled JVM_OPTS=$JVM_OPTS -XX:SurvivorRatio=8 JVM_OPTS=$JVM_OPTS -XX:MaxTenuringThreshold=2 JVM_OPTS=$JVM_OPTS -XX:CMSInitiatingOccupancyFraction=75 JVM_OPTS=$JVM_OPTS -XX:+UseCMSInitiatingOccupancyOnly JConsole also show Memory Pool Par Survivor Space always full (41MB/50MB) and never reduce. Could you help me? Thank a lot for support. -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com
Re: Cassandra 082 - Large swap memory
Dear Jonathan, Cassandra process has 63.5 GB virtual size. I mention about RES column in top. RES is 8.3G. Very large than 2.5G Used Memory Used show in JConsole. On Fri, Aug 26, 2011 at 11:04 AM, Jonathan Ellis jbel...@gmail.com wrote: Sounds like http://wiki.apache.org/cassandra/FAQ#mmap On Thu, Aug 25, 2011 at 10:36 PM, King JKing beuk...@gmail.com wrote: Dear all, My Cassandra 082 server had very large swap memory. JConsole show memory used just 2.9GB. But htop (top) show Cassandra process take 8700MB. Here is my config: MAX_HEAP_SIZE=6G HEAP_NEWSIZE=400M JVM_OPTS=$JVM_OPTS -XX:+UseParNewGC JVM_OPTS=$JVM_OPTS -XX:+UseConcMarkSweepGC JVM_OPTS=$JVM_OPTS -XX:+CMSParallelRemarkEnabled JVM_OPTS=$JVM_OPTS -XX:SurvivorRatio=8 JVM_OPTS=$JVM_OPTS -XX:MaxTenuringThreshold=2 JVM_OPTS=$JVM_OPTS -XX:CMSInitiatingOccupancyFraction=75 JVM_OPTS=$JVM_OPTS -XX:+UseCMSInitiatingOccupancyOnly JConsole also show Memory Pool Par Survivor Space always full (41MB/50MB) and never reduce. Could you help me? Thank a lot for support. -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com