You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Jackson Newhouse (Jira)" <ji...@apache.org> on 2022/05/25 19:38:00 UTC
[jira] [Created] (KAFKA-13939) Memory Leak When Logging Is Disabled In InMemoryTimeOrderedKeyValueBuffer
Jackson Newhouse created KAFKA-13939:
----------------------------------------
Summary: Memory Leak When Logging Is Disabled In InMemoryTimeOrderedKeyValueBuffer
Key: KAFKA-13939
URL: https://issues.apache.org/jira/browse/KAFKA-13939
Project: Kafka
Issue Type: Bug
Reporter: Jackson Newhouse
If `loggingEnabled` is false, the `dirtyKeys` set is not cleared within `flush()`, see [https://github.com/apache/kafka/blob/3.2/streams/src/main/java/org/apache/kafka/streams/state/internals/InMemoryTimeOrderedKeyValueBuffer.java#L262.] However, dirtyKeys is still written to in the loop within `evictWhile`. This causes dirtyKeys to continuously grow for the life of the buffer.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)