Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 66078 invoked from network); 28 Oct 2010 02:04:58 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 28 Oct 2010 02:04:58 -0000 Received: (qmail 58954 invoked by uid 500); 28 Oct 2010 02:04:56 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 58931 invoked by uid 500); 28 Oct 2010 02:04:56 -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 58923 invoked by uid 500); 28 Oct 2010 02:04:56 -0000 Delivered-To: apmail-incubator-cassandra-user@incubator.apache.org Received: (qmail 58920 invoked by uid 99); 28 Oct 2010 02:04:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Oct 2010 02:04:56 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,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 beuknight@gmail.com designates 74.125.82.43 as permitted sender) Received: from [74.125.82.43] (HELO mail-ww0-f43.google.com) (74.125.82.43) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Oct 2010 02:04:50 +0000 Received: by wwb39 with SMTP id 39so1527464wwb.0 for ; Wed, 27 Oct 2010 19:04:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=OLpwXjblQZ5YETvmTj51uZG+FebVFleI4Y7/Cnqg1rA=; b=W0yzvJI8A9dre3UI+Z1yf8boe/bmXvXlNk7emoBcb5GJ9aeBQvGa+AYj0AibruvQ8i tqpV1jqv9CCEFO154ULhCXZcnRqrHzKm8n/139BcMAbwhyLAipmsdIG0TjFUf1B5KUqp lMfjwlpDnpioXqvs3LtxBQVCiIK0+JxGYEkKQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=pB4qfm3YrTByDTXBZBsjQ1AodS2sjZ4x/hvCNBJGSQw755bRdkLIEzYmqSG1RAOhI+ J7AxZ7+xlvyk0EPbtP0P4tb8RdIYlgyZaCPja0yUK8c/uElayL+HWiVFCzvcW9TV2n1x a3Try2aNjAA+TW2v4olbm/UxDMUXpwxgaU4wE= MIME-Version: 1.0 Received: by 10.216.27.9 with SMTP id d9mr6759208wea.61.1288231469154; Wed, 27 Oct 2010 19:04:29 -0700 (PDT) Received: by 10.216.61.196 with HTTP; Wed, 27 Oct 2010 19:04:29 -0700 (PDT) Date: Thu, 28 Oct 2010 09:04:29 +0700 Message-ID: Subject: Config Maximum heap size for Cassandra From: JKnight JKnight To: cassandra-user@incubator.apache.org Content-Type: multipart/alternative; boundary=0016e6dab1821b85760493a3c3e5 --0016e6dab1821b85760493a3c3e5 Content-Type: text/plain; charset=ISO-8859-1 Hi all, When I config Maximum heap size -Xmx4G, the memory will consume to 3.5G. When I call Perform GC (jconsole), the used memory reduce to 1G. When I config Maximum heap size -Xmx2G, Cassandra system run well. Is that Casandra problem? I want Cassandra use memory more effective. How can I do that? Thank a lot for support. -- Best regards, JKnight --0016e6dab1821b85760493a3c3e5 Content-Type: text/html; charset=ISO-8859-1 Hi all,

When I config Maximum heap size -Xmx4G, the memory will consume to 3.5G. When I call Perform GC (jconsole), the used memory reduce to 1G.

When I config Maximum heap size -Xmx2G, Cassandra system run well.

Is that Casandra problem?
I want Cassandra use memory more effective. How can I do that?

Thank a lot for support.
--
Best regards,
JKnight
--0016e6dab1821b85760493a3c3e5--