Skip to content

Commit

Permalink
NIFI-13865: Disable the heap dump on OOME by default, add doc
Browse files Browse the repository at this point in the history
  • Loading branch information
mattyb149 committed Oct 11, 2024
1 parent 3fff743 commit 0a3430c
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,8 @@ java.arg.securityAuthUseSubjectCredsOnly=-Djavax.security.auth.useSubjectCredsOn
# org.apache.jasper.servlet.JasperLoader,org.jvnet.hk2.internal.DelegatingClassLoader,org.apache.nifi.nar.NarClassLoader
# End of Java Agent config for native library loading.

java.arg.heapDumpPath=-XX:HeapDumpPath=./work
java.arg.heapDumpOnOutOfMemory=-XX:+HeapDumpOnOutOfMemoryError
# The following commands will allow NiFi to produce a heap dump if an OutOfMemoryError(OOME) occurs while NiFi is running.
# Note that since the data in memory is not encrypted, sensitive values may be available in the heap dump, this should be
# considered before enabling the following arguments
#java.arg.heapDumpPath=-XX:HeapDumpPath=./work
#java.arg.heapDumpOnOutOfMemory=-XX:+HeapDumpOnOutOfMemoryError

0 comments on commit 0a3430c

Please sign in to comment.