[
https://issues.apache.org/jira/browse/NIFI-13865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17905720#comment-17905720
]
ASF subversion and git services commented on NIFI-13865:
--------------------------------------------------------
Commit 9c79c871ccc3e4f23691fb4f0b68f2e4b09b73c0 in nifi's branch
refs/heads/main from Matt Burgess
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=9c79c871cc ]
NIFI-13865 Add HeapDumpOnOutOfMemoryError description to Admin Guide (#9579)
Signed-off-by: David Handermann <[email protected]>
> Add HeapDumpOnOutOfMemoryError description to Admin Guide
> ---------------------------------------------------------
>
> 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
> Assignee: Matt Burgess
> Priority: Major
> Time Spent: 2h 20m
> Remaining Estimate: 0h
>
> 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)