[
https://issues.apache.org/jira/browse/KAFKA-15397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
hudeqi resolved KAFKA-15397.
----------------------------
Resolution: Resolved
> 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)