You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "hudeqi (Jira)" <ji...@apache.org> on 2023/09/11 07:31:00 UTC

[jira] [Reopened] (KAFKA-15397) Deserializing produce requests may cause memory leaks when exceptions occur

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

hudeqi reopened KAFKA-15397:
----------------------------

> Deserializing produce requests may cause memory leaks when exceptions occur
> ---------------------------------------------------------------------------
>
>                 Key: KAFKA-15397
>                 URL: https://issues.apache.org/jira/browse/KAFKA-15397
>             Project: Kafka
>          Issue Type: Bug
>          Components: clients, core
>    Affects Versions: 2.8.1
>            Reporter: hudeqi
>            Assignee: hudeqi
>            Priority: Blocker
>         Attachments: SeaTalk_IMG_1692796505.png, SeaTalk_IMG_1692796533.png, SeaTalk_IMG_1692796604.png, SeaTalk_IMG_1692796891.png
>
>
> When the client sends a produce request in an abnormal way and the server accepts it for deserialization, a "java.lang.IllegalArgumentException" may occur, which will cause a large number of "TopicProduceData" objects to be instantiated without being cleaned up. In the end, the entire service of kafka is OOM.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)