cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: Cassandra 082 - Large swap memory
Date Fri, 26 Aug 2011 04:04:00 GMT
Sounds like http://wiki.apache.org/cassandra/FAQ#mmap

On Thu, Aug 25, 2011 at 10:36 PM, King JKing <beuking@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

Mime
View raw message