Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 46257 invoked from network); 22 Nov 2010 20:02:25 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 22 Nov 2010 20:02:25 -0000 Received: (qmail 61504 invoked by uid 500); 22 Nov 2010 20:02:52 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 61404 invoked by uid 500); 22 Nov 2010 20:02:52 -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 61396 invoked by uid 99); 22 Nov 2010 20:02:52 -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 20:02:52 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jbellis@gmail.com designates 74.125.82.44 as permitted sender) Received: from [74.125.82.44] (HELO mail-ww0-f44.google.com) (74.125.82.44) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Nov 2010 20:02:47 +0000 Received: by wwa36 with SMTP id 36so7951853wwa.25 for ; Mon, 22 Nov 2010 12:02:25 -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=YOW0q+S+0wNLT8sC+pYQrmFogjf+ZbZyOQTJ5i+EtDo=; b=qQ4jGXpM3g3d1laLUjfb4y28qW97c6B8HRpyF8MVHO7eOts2oT7Hfwxf0YbJ5Kiqwu DSgKxopkwH0i3MCS8Ltq2pH4LXt6/81za0r+1z1uGFlDpwI41/ugfA1OO6YrUZEVMv09 TtiQJl4iNLUBfmQHu1O+cyzsyaAlsumcKu0us= 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=l0cZ7JaVKlPW9/Ide090P74iEYG+erd2Ow0nDh90j7cRHXVdCr3KkIw44qP1r3Mhvu wA7ymzP8HP5ZGfP5BkB7YFwa04JgcDwSpydwaZwBzzbpM6bxUj048kToTi9VpQzDsaFx 2kY2QKHVvWV7r4DD6X5alcc2yF++kozhCKxkw= MIME-Version: 1.0 Received: by 10.216.90.79 with SMTP id d57mr44635wef.65.1290456142842; Mon, 22 Nov 2010 12:02:22 -0800 (PST) Received: by 10.217.3.198 with HTTP; Mon, 22 Nov 2010 12:02:22 -0800 (PST) In-Reply-To: References: Date: Mon, 22 Nov 2010 14:02:22 -0600 Message-ID: Subject: Re: Newbie question on Cassandra mem usage From: Jonathan Ellis To: user Content-Type: text/plain; charset=ISO-8859-1 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