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

WriteBatch objects leak off-heap memory

Agile BoardAttach filesAttach ScreenshotVotersStop watchingWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment