You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/07/27 11:29:00 UTC

[jira] [Commented] (NIFI-7678) Stateless NiFi does not properly manage process sessions, leading to memory leak and poor performance

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

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

Commit 0b9f2fbe3bd3739d1df22623b347b3b514242191 in nifi's branch refs/heads/main from Mark Payne
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=0b9f2fb ]

NIFI-7678: Fixed memory leak, improved some logic that constantly created collections unnecessarily. Changed types of Collections being used to much more efficient implementations. Removed using Streams for performance-critical parts of application
NIFI-7678: Check if debug is enabled before logging message about processor.onTrigger because obtaining class name is expensive

Signed-off-by: Pierre Villard <pi...@gmail.com>

This closes #4431.


> Stateless NiFi does not properly manage process sessions, leading to memory leak and poor performance
> -----------------------------------------------------------------------------------------------------
>
>                 Key: NIFI-7678
>                 URL: https://issues.apache.org/jira/browse/NIFI-7678
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Mark Payne
>            Assignee: Mark Payne
>            Priority: Critical
>             Fix For: 1.12.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Stateless NiFi keeps track of all created Process Sessions and holds them in memory without ever releasing them, instead of removing them from a List after the processor completes. This results in very poor performance and will eventually exhaust the heap



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