由于没有脏列系列,因此无法减少堆使用量

时间:2013-05-07 07:57:05

标签: cassandra

当我想从Cassandr读取时我有错误:

WARN 19:17:29,839 Heap is 0.8888050654459693 full.  
    You may need to reduce memtable and/or cache sizes.  
    Cassandra will now flush up to the two largest memtables to free up memory.  
    Adjust flush_largest_memtables_at threshold in cassandra.yaml if you don't want Cassandra to do this automatically 
INFO 19:17:30,238 Unable to reduce heap usage since there are no dirty column families

当我减少flush_largest_memtables_at阈值时,没有任何变化,所以你可以帮我减少memtable或缓存大小,因为我不知道怎么做。

1 个答案:

答案 0 :(得分:1)

在conf / cassandra-env.sh中增加MAX_HEAP_SIZE对我来说很有帮助。