Matt Burgess created NIFI-13865:
-----------------------------------

             Summary: Add HeapDumpOnOutOfMemoryError settings to bootstrap.conf
                 Key: NIFI-13865
                 URL: https://issues.apache.org/jira/browse/NIFI-13865
             Project: Apache NiFi
          Issue Type: New Feature
          Components: Core Framework
            Reporter: Matt Burgess


According to what I've read, we can add the following arguments to 
bootstrap.conf for the NiFi JVM:

java.arg.heapDumpPath=-XX:HeapDumpPath=./work
java.arg.heapDumpOnOutOfMemory=-XX:+HeapDumpOnOutOfMemoryError

and it allows NiFi to do a heap dump whenever an OutOfMemoryError occurs. This 
could help diagnose OOM problems right after they happen which could make 
debugging the potential issues easier.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to