cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cathy Daw (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-5157) mac friendly cassandra-env.sh
Date Tue, 15 Jan 2013 07:14:12 GMT

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

Cathy Daw updated CASSANDRA-5157:
---------------------------------

    Issue Type: Task  (was: Bug)
    
> 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
>            Priority: Trivial
>
> 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

Mime
View raw message