You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Cathy Daw (JIRA)" <ji...@apache.org> on 2013/01/15 08:14:12 UTC
[jira] [Updated] (CASSANDRA-5157) mac friendly cassandra-env.sh
[ 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