[
https://issues.apache.org/jira/browse/NIFI-13865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matt Burgess updated NIFI-13865:
--------------------------------
Status: Patch Available (was: In Progress)
> 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 10m
> 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)