Re: [Off heap memory used (total)] in cfstats

2016-01-08 Thread Kai Wang
Update: I check the source code: https://github.com/apache/cassandra/blob/4a0d1caa262af3b6f2b6d329e45766b4df845a88/src/java/org/apache/cassandra/tools/nodetool/Info.java#L154 Off heap memory usage comes from four parts. I rechecked cfstats to find out Bloom filter takes most of the off heap memor

[Off heap memory used (total)] in cfstats

2016-01-08 Thread Kai Wang
Hi, When I switch a big table from STCS to LCS, I notice high off heap memory usage using nodetool cfstats. "*Off heap memory used (total)*" shows +10G usage. Eventually my nodes died because of OOM. How do I throttle off heap usage? The only thing I see in cassandra.yaml is *memtable_offheap_spa