You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Brandon Williams (JIRA)" <ji...@apache.org> on 2013/01/15 13:38:13 UTC

[jira] [Resolved] (CASSANDRA-5157) mac friendly cassandra-env.sh

     [ https://issues.apache.org/jira/browse/CASSANDRA-5157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brandon Williams resolved CASSANDRA-5157.
-----------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.10
         Reviewer: brandon.williams
         Assignee: Cathy Daw

Committed (a patch makes our lives a little bit easier though)
                
> mac friendly cassandra-env.sh
> -----------------------------
>
>                 Key: CASSANDRA-5157
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5157
>             Project: Cassandra
>          Issue Type: Task
>          Components: Config
>            Reporter: Cathy Daw
>            Assignee: Cathy Daw
>            Priority: Trivial
>             Fix For: 1.1.10
>
>
> by default my mac launches with 1024mb but this fix will allow it to start up at 25% total memory
> {code}
> Darwin)
>     system_memory_in_bytes=`sysctl hw.memsize | awk '{print $2}'`
>     system_memory_in_mb=`expr $system_memory_in_bytes / 1024 / 1024`
>     system_cpu_cores=`sysctl hw.ncpu | awk '{print $2}'`
> ;;
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira