[
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