incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Morton <aa...@thelastpickle.com>
Subject Re: Newbie question on Cassandra mem usage
Date Mon, 22 Nov 2010 21:39:32 GMT
They are memtable_throughput_in_mb, memtable_flush_after_mins, memtable_operations_in_millions. 

Under 0.7 these are per CF settings, in 0.6 these are cluster wide. 

To start with try  mb one down to something like 64 or 128, ops to 0.5 and mins to 60 . 

What version are you using ? 

Aaron


On 23 Nov, 2010,at 10:22 AM, Trung Tran <tran.hieutrung@gmail.com> wrote:

Hi,

Is it the min_compaction_threshold and max_compaction_threshold? Do i
need to lower the memtable setting also?

Thanks,
Trung.

On Mon, Nov 22, 2010 at 12:02 PM, Jonathan Ellis <jbellis@gmail.com> wrote:
> Set your columnfamily thresholds lower.
>
> On Mon, Nov 22, 2010 at 12:45 PM, Trung Tran <tran.hieutrung@gmail.com> wrote:
>> Hi,
>>
>> I have a test cluster of 3 nodes, 14Gb of mem in each node,
>> replication factor = 3. With default -Xms and Xmx, my nodes are set to
>> have max-heap-size = 7Gb. After initial load with about 200M rows
>> (write with hector default consistencylevel = quorum,) my nodes memory
>> usage are up to 13.5Gb, show a bunches of GC notifications and
>> eventually crashes with java.lang.OutOfMemoryError: Java heap space.
>>
>> Is there any setting that can help with this scenario?
>>
>> Thanks,
>> Trung.
>>
>
>
>
> --
> Jonathan Ellis
> Project Chair, Apache Cassandra
> co-founder of Riptano, the source for professional Cassandra support
> http://riptano.com
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
    • Unnamed multipart/related (inline, None, 0 bytes)
View raw message