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

sstablescrub should respect MAX_HEAP_SIZE

    XMLWordPrintableJSON

Details

    Description

      sstablescrub has Xmx hardcoded to 256MB. This is not enough in my installation and causes an OOM.

      Since it's meant to be run offline, the memory usually allocated to the daemon can be safely given to the tool.

      Attached is a patch that makes it respect $MAX_HEAP_SIZE (with fallback to 256MB if not defined)

      Attachments

        Activity

          People

            minaguib Mina Naguib
            minaguib Mina Naguib
            Mina Naguib
            Brandon Williams
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: