[
https://issues.apache.org/jira/browse/NIFI-13865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17888764#comment-17888764
]
Joe Witt commented on NIFI-13865:
---------------------------------
Is there any side effect of doing so? Does it impact recovery time/etc..?
Does it depend on how large the heap is/etc..
> 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
> Priority: Major
>
> 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)