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

OOM due to slow memory meter

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 2.0.12
    • Component/s: None
    • Labels:
      None
    • Severity:
      Normal
    • Since Version:

      Description

      Memory meter holds strong reference to memtable while it iterates over memtable cells. Because meter is not fast, it prevents memtable from being GCed after it has been flushed for some time.

      If write rate is fast enough, this makes node OOM.

      Fixed this by aborting metering if table becomes not active in datatracker, i.e. flushing or flushed.

        Attachments

        1. OOMWhileMemoryMetering.txt
          0.8 kB
          Oleg Anastasyev

          Issue Links

            Activity

              People

              • Assignee:
                m0nstermind Oleg Anastasyev
                Reporter:
                m0nstermind Oleg Anastasyev
                Authors:
                Oleg Anastasyev
                Reviewers:
                Jonathan Ellis
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: