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

ASF subversion and git services commented on NIFI-6926:
-------------------------------------------------------

Commit ba6d050ba814c2e10e9cdeff2d55f75b4faf2036 in nifi's branch 
refs/heads/master from Peter Turcsanyi
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=ba6d050 ]

NIFI-6926: Fixed memory leak in NiFiAtlasHook
NIFI-6926: Use new instance of list instead of clearing it
NIFI-6926: Logging the number of messages to be sent to Atlas.
NIFI-6926: Pass a copy of the messages list to send() and clear the original 
list.

This closes #3915


> Memory leak in NiFiAtlasHook
> ----------------------------
>
>                 Key: NIFI-6926
>                 URL: https://issues.apache.org/jira/browse/NIFI-6926
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>            Reporter: Peter Turcsanyi
>            Assignee: Peter Turcsanyi
>            Priority: Major
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> NiFiAtlasHook collects the notification messages to be sent to Atlas in a 
> list, but it does not clean up the list after committing the messages. So it 
> is just growing and the same notifications are being sent to Atlas again and 
> again. This will lead to communication slow-down, OOM and/or exceeding Kafka 
> message size limit.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to