Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 71859 invoked from network); 15 Sep 2010 20:37:15 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Sep 2010 20:37:15 -0000 Received: (qmail 49949 invoked by uid 500); 15 Sep 2010 20:37:15 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 49761 invoked by uid 500); 15 Sep 2010 20:37:14 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 49747 invoked by uid 99); 15 Sep 2010 20:37:14 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Sep 2010 20:37:14 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Sep 2010 20:36:57 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8FKaZrM010823 for ; Wed, 15 Sep 2010 20:36:35 GMT Message-ID: <4726471.211781284582995400.JavaMail.jira@thor> Date: Wed, 15 Sep 2010 16:36:35 -0400 (EDT) From: "Peter Schuller (JIRA)" To: commits@cassandra.apache.org Subject: [jira] Updated: (CASSANDRA-1507) make adaptive heap size calculation portable In-Reply-To: <28787473.211671284582454175.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CASSANDRA-1507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Peter Schuller updated CASSANDRA-1507: -------------------------------------- Attachment: trunk-1507-v2.txt Slightly modified patch. I accidentally included the version where FreeBSD was mis-spelled (I used it for testing the fallback case). > make adaptive heap size calculation portable > -------------------------------------------- > > Key: CASSANDRA-1507 > URL: https://issues.apache.org/jira/browse/CASSANDRA-1507 > Project: Cassandra > Issue Type: Bug > Components: Core > Affects Versions: 0.7 beta 1 > Reporter: Peter Schuller > Priority: Minor > Attachments: trunk-1507-v2.txt, trunk-1507.txt > > > The adaptive heap size calculation is dependent on the 'free' tool which is typically available on Linux machines (GNU toolset) but not others. > I'm attaching a patch which makes FreeBSD specifically supported as well as falling back to static 1024m default if the operating system is unrecognized. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.