kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sophie Blee-Goldman (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (KAFKA-8637) WriteBatch objects leak off-heap memory
Date Mon, 15 Jul 2019 23:47:00 GMT

     [ https://issues.apache.org/jira/browse/KAFKA-8637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sophie Blee-Goldman resolved KAFKA-8637.
----------------------------------------
    Resolution: Fixed

> WriteBatch objects leak off-heap memory
> ---------------------------------------
>
>                 Key: KAFKA-8637
>                 URL: https://issues.apache.org/jira/browse/KAFKA-8637
>             Project: Kafka
>          Issue Type: Bug
>          Components: streams
>    Affects Versions: 2.1.0, 2.2.0, 2.3.0
>            Reporter: Sophie Blee-Goldman
>            Assignee: Sophie Blee-Goldman
>            Priority: Blocker
>             Fix For: 2.1.2, 2.2.2, 2.4.0, 2.3.1
>
>
> 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



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Mime
View raw message