cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mina Naguib (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-5562) sstablescrub should respect MAX_HEAP_SIZE
Date Mon, 13 May 2013 18:11:17 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-5562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mina Naguib updated CASSANDRA-5562:
-----------------------------------

    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)

  was:
sstablescrub has Xmx hardcoded to 256MB.  This is not enough to load the bloom filters 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)

    
> sstablescrub should respect MAX_HEAP_SIZE
> -----------------------------------------
>
>                 Key: CASSANDRA-5562
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5562
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.1.11
>            Reporter: Mina Naguib
>            Priority: Minor
>              Labels: MAX_HEAP_SIZE, heap, oom, sstablescrub, xmx
>         Attachments: CASSANDRA-5562-sstablescrub_max_heap_size.patch
>
>
> 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)

--
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

Mime
View raw message