Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3186C7DA4 for ; Mon, 18 Jul 2011 11:53:52 +0000 (UTC) Received: (qmail 5202 invoked by uid 500); 18 Jul 2011 11:53:49 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 5151 invoked by uid 500); 18 Jul 2011 11:53:47 -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 5108 invoked by uid 99); 18 Jul 2011 11:53:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Jul 2011 11:53:47 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL 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, 18 Jul 2011 11:53:41 +0000 Received: by wwe5 with SMTP id 5so2569280wwe.25 for ; Mon, 18 Jul 2011 04:53:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=ljKLRqL9MFSwI74a9M9TP9IF+kHpWnw32ncQh6kSeFA=; b=IvDyLRw/wuLzKylM24EB4NkTOdGwWCH/EjTsTlhqc+DhCVA4wFPhYPpmTTdwI/p/R0 1topAXyO2xJeFQJRHl/U+bw2ZbLiYfjvZwGLhqhUROA1FMpY/oBA1eDNFMeB/LDE9B1E bmOoNnE3pc1Uc/Mx1Tjt1DFec5WGqk5lHEWzI= Received: by 10.216.176.76 with SMTP id a54mr2755044wem.112.1310990000116; Mon, 18 Jul 2011 04:53:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.52.132 with HTTP; Mon, 18 Jul 2011 04:53:00 -0700 (PDT) In-Reply-To: References: From: Jonathan Ellis Date: Mon, 18 Jul 2011 06:53:00 -0500 Message-ID: Subject: Re: Cassandra consume large memory To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable That means that the mmaped files are indeed resident at the moment. On Mon, Jul 18, 2011 at 1:51 AM, JKnight JKnight wrot= e: > Thank for your response. > Do you talk about virtual memory (column VIRT show in top command)? > But I mention about column RES.=A0In my case, VIRT is 61.8G, RES is 3.2G = and > SHR is 1.2G. > JMX show Memory Usage: > Used : 600MB, Commit 2.1G, Max: 2.1G > On Mon, Jul 18, 2011 at 11:59 AM, Jonathan Ellis wrot= e: >> >> http://wiki.apache.org/cassandra/FAQ#mmap >> >> On Sun, Jul 17, 2011 at 11:54 PM, JKnight JKnight >> wrote: >> > Dear all, >> > I use JMX to monitor Cassandra server. >> > Heap Memory Usage show: >> > Used : 600MB, Commit 2.1G, Max: 2.1G >> > But htop show Cassandra process consume 3.1G. >> > Could you tell me why Cassandra occupy memory very large than in used? >> > Thank a lot for support. >> > -- >> > Best regards, >> > JKnight >> > >> >> >> >> -- >> Jonathan Ellis >> Project Chair, Apache Cassandra >> co-founder of DataStax, the source for professional Cassandra support >> http://www.datastax.com > > > > -- > Best regards, > JKnight > --=20 Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com