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

sstablescrub should respect MAX_HEAP_SIZE

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment