[ 
https://issues.apache.org/jira/browse/KAFKA-15397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17761149#comment-17761149
 ] 

hudeqi commented on KAFKA-15397:
--------------------------------

I applied the fix of this PR online and saw that the frequency of full gc was 
greatly reduced, but still occurred after a long running time. It was also 
difficult for me to simulate the abnormal sending behavior of the client. Do 
you have any findings and suggestions? [~showuon] 

> 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)

Reply via email to