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

make adaptive heap size calculation portable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 0.7 beta 2
    • None
    • None
    • Low

    Description

      The adaptive heap size calculation is dependent on the 'free' tool which is typically available on Linux machines (GNU toolset) but not others.

      I'm attaching a patch which makes FreeBSD specifically supported as well as falling back to static 1024m default if the operating system is unrecognized.

      Attachments

        1. trunk-1507-v2.txt
          1 kB
          Peter Schuller
        2. trunk-1507.txt
          1 kB
          Peter Schuller

        Activity

          People

            scode Peter Schuller
            scode Peter Schuller
            Peter Schuller
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: