cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominic Letz (JIRA)" <>
Subject [jira] [Created] (CASSANDRA-8559) OOM caused by large tombstone warning.
Date Mon, 05 Jan 2015 05:20:34 GMT
Dominic Letz created CASSANDRA-8559:

             Summary: OOM caused by large tombstone warning.
                 Key: CASSANDRA-8559
             Project: Cassandra
          Issue Type: Bug
          Components: Core
         Environment: 2.0.11 / 2.1
            Reporter: Dominic Letz
         Attachments: Selection_048.png

When running with high amount of tombstones the error message generation from CASSANDRA-6117
can lead to out of memory situation with the default setting.

Attached a heapdump viewed in visualvm showing how this construct is create a 777mb string
to print the error message for a single read query.

        if (respectTombstoneThresholds() && columnCounter.ignored() > DatabaseDescriptor.getTombstoneWarnThreshold())
            StringBuilder sb = new StringBuilder();
            CellNameType type = container.metadata().comparator;
            for (ColumnSlice sl : slices)
                assert sl != null;


            logger.warn("Read {} live and {} tombstoned cells in {}.{} (see tombstone_warn_threshold).
{} columns was requested, slices={}, delInfo={}",
              , columnCounter.ignored(), container.metadata().ksName,
container.metadata().cfName, count, sb, container.deletionInfo());

This message was sent by Atlassian JIRA

View raw message