Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-8637

WriteBatch objects leak off-heap memory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.1.0, 2.2.0, 2.3.0
    • 2.1.2, 2.2.2, 2.4.0, 2.3.1
    • streams
    • None

    Description

      In 2.1 we did some refactoring that led to the WriteBatch objects in RocksDBSegmentedBytesStore#restoreAllInternal being created in a separate method, rather than in a try-with-resources statement as used elsewhere. This causes a memory leak as the WriteBatches are no longer closed automatically

      Attachments

        Issue Links

          Activity

            People

              ableegoldman A. Sophie Blee-Goldman
              ableegoldman A. Sophie Blee-Goldman
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: