Sorry - just realised this is now a parameter on the CFDef From: Dr. Andrew Perella [mailto:a...@eutechnyx.com] Sent: 26 November 2010 14:17 To: user@cassandra.apache.org Subject: RE: Newbie question on Cassandra mem usage
How can I set these per CF when I create them dynamically? Regards, Andrew From: Aaron Morton [mailto:aa...@thelastpickle.com] Sent: 22 November 2010 21:40 To: user@cassandra.apache.org Subject: Re: Newbie question on Cassandra mem usage 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.hieutr...@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 <jbel...@gmail.com> wrote: > Set your columnfamily thresholds lower. > > On Mon, Nov 22, 2010 at 12:45 PM, Trung Tran <tran.hieutr...@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 > This email has been scanned for all known viruses by the Email Protection Agency This e-mail is confidential and may be privileged. It may be read, copied and used only by the intended recipient. No communication sent by e-mail to or from Eutechnyx is intended to give rise to contractual or other legal liability, apart from liability which cannot be excluded under English law. This email has been scanned for all known viruses by www.epagency.net<http://www.epagency.net>. www.eutechnyx.com<http://www.eutechnyx.com> Eutechnyx Limited. Registered in England No: 2172322 This email has been scanned for all known viruses by the Email Protection Agency This e-mail is confidential and may be privileged. It may be read, copied and used only by the intended recipient. No communication sent by e-mail to or from Eutechnyx is intended to give rise to contractual or other legal liability, apart from liability which cannot be excluded under English law. This email has been scanned for all known viruses by the Email Protection Agency. http://www.epagency.net www.eutechnyx.com Eutechnyx Limited. Registered in England No: 2172322