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

BTree.Builder memory leak

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 3.11.1
    • Component/s: Legacy/Core
    • Labels:
      None
    • Environment:

      Cassandra 3.11.0, Netty 4.0.44.Final, OpenJDK 8u141-b15

    • Severity:
      Normal

      Description

      After a chronic bout of OutOfMemoryError in our development environment, a heap analysis is showing that more than 10G of our 12G heaps are consumed by the threadLocals members (instances of java.lang.ThreadLocalMap) of various io.netty.util.concurrent.FastThreadLocalThread instances. Reverting cecbe17 fixes the issue.

        Attachments

        1. Screenshot from 2017-09-11 16-54-43.png
          222 kB
          Eric Evans
        2. Screenshot from 2017-09-13 10-39-58.png
          240 kB
          Eric Evans
        3. cassandra_3.11.1_Recycler_memleak.png
          128 kB
          Thomas Steinmaurer
        4. cassandra_3.11.1_snapshot_heaputilization.png
          89 kB
          Thomas Steinmaurer

          Activity

            People

            • Assignee:
              snazy Robert Stupp
              Reporter:
              urandom Eric Evans
              Authors:
              Robert Stupp
              Reviewers:
              Jeremiah Jordan
            • Votes:
              1 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: