还有两个相关的帖子
NoSpamLogger.java Maximum memory usage reached Cassandra
in cassandra Maximum memory usage reached (536870912 bytes), cannot allocate chunk of 1048576 bytes
但是他们并没有问同样的事情。我要彻底了解此消息的含义?目前看来,这并没有影响我的等待时间。
我做了一个nodetool cfstats
SSTable count: 5
Space used (live): 1182782029
Space used (total): 1182782029
Space used by snapshots (total): 0
Off heap memory used (total): 802011
SSTable Compression Ratio: 0.17875764458149868
Number of keys (estimate): 34
Memtable cell count: 33607
Memtable data size: 5590408
Memtable off heap memory used: 0
Memtable switch count: 902
Local read count: 4689
Local read latency: NaN ms
Local write count: 51592342
Local write latency: 0.035 ms
Pending flushes: 0
Percent repaired: 0.0
Bloom filter false positives: 0
Bloom filter false ratio: 0.00000
Bloom filter space used: 120
Bloom filter off heap memory used: 80
Index summary off heap memory used: 291
Compression metadata off heap memory used: 801640
Compacted partition minimum bytes: 447
Compacted partition maximum bytes: 2874382626
Compacted partition mean bytes: 164195240
Average live cells per slice (last five minutes): NaN
Maximum live cells per slice (last five minutes): 0
Average tombstones per slice (last five minutes): NaN
Maximum tombstones per slice (last five minutes): 0
Dropped Mutations: 0
延迟对我来说看起来不错。
我也做了直方图
统计数据对我来说不错!那卡桑德拉在抱怨什么呢?
答案 0 :(得分:0)
此jira中的评论有一个解释:https://issues.apache.org/jira/browse/CASSANDRA-12221
报价:
邓伟添加了一条评论-16年7月18日05:01
请参阅CASSANDRA-5661。这是一个限制RandomAccessReader使用的堆外内存量的上限,如果需要,您可以在cassandra.yaml中通过file_cache_size_in_mb更改限制。