Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-5157

mac friendly cassandra-env.sh

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.1.10
    • Local/Config
    • None

    Description

      by default my mac launches with 1024mb but this fix will allow it to start up at 25% total memory

      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}'`
      ;;
      

      Attachments

        Activity

          People

            cdaw Cathy Daw
            cdaw Cathy Daw
            Cathy Daw
            Brandon Williams
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: