Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 96550 invoked from network); 22 Nov 2010 21:22:02 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 22 Nov 2010 21:22:02 -0000 Received: (qmail 71109 invoked by uid 500); 22 Nov 2010 21:22:32 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 70999 invoked by uid 500); 22 Nov 2010 21:22:32 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 70990 invoked by uid 99); 22 Nov 2010 21:22:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Nov 2010 21:22:32 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tran.hieutrung@gmail.com designates 209.85.216.172 as permitted sender) Received: from [209.85.216.172] (HELO mail-qy0-f172.google.com) (209.85.216.172) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Nov 2010 21:22:27 +0000 Received: by qyk34 with SMTP id 34so1961718qyk.10 for ; Mon, 22 Nov 2010 13:22:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=nL7IPnpbCAoH01hs3hicpi0xBQQ9olvYgepCNiLZlFE=; b=fXifHIjBPWFNLx1kfbZYmYqSStFL04X/rpjmDwUg3gI90A7lPhSdqX4NiamVsZbeMO jKWEVjvnYlIlkK09AVszfgNI6loWodkrjmA3hWMUZfwKxOOJpJFfz+gZFh0eoM8BK0bk Coy4X27BmLa/6RQtXtLtyBOutbnrcgZlrWhBY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=RNjqpKOCHKiR32QvmMlkMHGG9prxTFlbeia4Zaq84olgs8gpZc3lGoNKNfZOLDeh/t 4fBk0t/HgHIQx2kLt4vATf2kgpsTWKIZHRt+z0zgWONiACbV0NoqULwT/j1mctQS3Ai7 P49dSuMqo+3FIAtBnCiwjDouwk124UCLB/K0E= MIME-Version: 1.0 Received: by 10.229.95.193 with SMTP id e1mr5501408qcn.277.1290460925619; Mon, 22 Nov 2010 13:22:05 -0800 (PST) Received: by 10.229.237.195 with HTTP; Mon, 22 Nov 2010 13:22:05 -0800 (PST) In-Reply-To: References: Date: Mon, 22 Nov 2010 13:22:05 -0800 Message-ID: Subject: Re: Newbie question on Cassandra mem usage From: Trung Tran To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 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 wrote: > Set your columnfamily thresholds lower. > > On Mon, Nov 22, 2010 at 12:45 PM, Trung Tran 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 >