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 6D5A818E76 for ; Tue, 9 Jun 2015 08:03:06 +0000 (UTC) Received: (qmail 94776 invoked by uid 500); 9 Jun 2015 08:03:03 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 94734 invoked by uid 500); 9 Jun 2015 08:03:03 -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 94723 invoked by uid 99); 9 Jun 2015 08:03:03 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jun 2015 08:03:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id AD835182224 for ; Tue, 9 Jun 2015 08:02:57 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.73 X-Spam-Level: X-Spam-Status: No, score=0.73 tagged_above=-999 required=6.31 tests=[KAM_INFOUSMEBIZ=0.75, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 62SV75Hm4IfH for ; Tue, 9 Jun 2015 08:02:45 +0000 (UTC) Received: from relay13.nicmail.ru (relay08.nicmail.ru [195.208.6.4]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTP id 0F96B27621 for ; Tue, 9 Jun 2015 08:02:44 +0000 (UTC) Received: from [109.70.25.43] (port=60807 helo=nicmail.ru) by f17.mail.nic.ru with esmtp (Exim 5.55) (envelope-from ) id 1Z2EUW-000Pzm-65 for user@cassandra.apache.org; Tue, 09 Jun 2015 11:02:36 +0300 Received: from [81.95.140.122] (account mail@eax.me HELO fujitsu) by fcgp01.nicmail.ru (CommuniGate Pro SMTP 5.2.3) with ESMTPSA id 363052883 for user@cassandra.apache.org; Tue, 09 Jun 2015 11:02:36 +0300 Date: Tue, 9 Jun 2015 10:59:21 +0300 From: Eax Melanhovich To: user@cassandra.apache.org Subject: How to minimize Cassandra memory usage for test environment? Message-ID: <20150609105921.178b9417@fujitsu> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.23; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hello. We are running integration tests, using real Cassandra (not a mock) under Vagrant. MAX_HEAP_SIZE is set to 500M. As I discovered, lower value causes 'out of memory' after some time. Could memory usage be decreased somehow? Developers don't usually have a lot of free RAM and performance obviously is not an issue in this case. -- Best regards, Eax Melanhovich http://eax.me/