You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Mark Payne (Jira)" <ji...@apache.org> on 2021/11/19 22:13:00 UTC

[jira] [Created] (NIFI-9400) MonitorMemory reports based on incorrect values

Mark Payne created NIFI-9400:
--------------------------------

             Summary: MonitorMemory reports based on incorrect values
                 Key: NIFI-9400
                 URL: https://issues.apache.org/jira/browse/NIFI-9400
             Project: Apache NiFi
          Issue Type: Bug
          Components: Extensions
            Reporter: Mark Payne


The MonitorMemory reporting task is intended to report when heap is becoming exhausted by comparing the amount of heap used immediately after the most recent garbage collection to the configured threshold. It appears that this was broken in NIFI-1690, in which the code was changed to use {{MemoryPoolMXBean.getUsage()}} instead of {{MemoryPoolMXBean.getCollectionUsage()}}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)