[
https://issues.apache.org/jira/browse/KAFKA-8637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sophie Blee-Goldman updated KAFKA-8637:
---------------------------------------
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 (was: In 2.1 we did some refactoring that led to the WriteBatch
objects in #restoreAllInternal being created in a separate method, rather than
in a try-with-resources statement. This causes a memory leak as the WriteBatchs
are no longer closed automatically)
> 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
> Reporter: Sophie Blee-Goldman
> Priority: Major
>
> 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.3#76005)