You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Joseph Percivall (JIRA)" <ji...@apache.org> on 2015/10/26 22:37:27 UTC

[jira] [Updated] (NIFI-1068) Site-to-Site Client create memory leak when errors occur

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

Joseph Percivall updated NIFI-1068:
-----------------------------------
    Attachment: NIFI-1068.patch

Just needed to properly remove the connection from the activeConnection set in terminate

> Site-to-Site Client create memory leak when errors occur
> --------------------------------------------------------
>
>                 Key: NIFI-1068
>                 URL: https://issues.apache.org/jira/browse/NIFI-1068
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>            Reporter: Mark Payne
>            Assignee: Joseph Percivall
>              Labels: beginner, newbie
>             Fix For: 0.4.0
>
>         Attachments: NIFI-1068.patch
>
>
> The EndpointConnectionPool class does not properly cleanup EndpointConnection objects when a EndpointConnectionPool.terminate is called. As a result, if unable to send to the remote NiFi instance, the client will continually obtain a new EndpointConnection object, fail, and call terminate; this results in many objects being added to the internal 'activeConnections' set without ever getting cleaned up.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)