[
https://issues.apache.org/jira/browse/KAFKA-3773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15308718#comment-15308718
]
ASF GitHub Bot commented on KAFKA-3773:
---------------------------------------
GitHub user hachikuji reopened a pull request:
https://github.com/apache/kafka/pull/1452
KAFKA-3773: Remove from inflightResponses on client disconnect to prevent
memory leak
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/hachikuji/kafka hotfix-processor-memleak
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/1452.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1452
----
----
> SocketServer inflightResponses collection leaks memory on client disconnect
> ---------------------------------------------------------------------------
>
> Key: KAFKA-3773
> URL: https://issues.apache.org/jira/browse/KAFKA-3773
> Project: Kafka
> Issue Type: Bug
> Components: core
> Affects Versions: 0.9.0.0, 0.9.0.1
> Reporter: Jason Gustafson
> Assignee: Jason Gustafson
>
> Prior to 0.10, we did not clean the {{inflightResponses}} collection
> maintained by each processor when a client disconnected. This causes a
> quickly growing memory leak since that collection maintains a reference to
> the pending response, which can be quite large in the case of fetches. This
> was fixed in KAFKA-3489 for 0.10, but we should ensure that 0.9 is patched as
> well.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)