Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NIFI-13865: Enable the JVM to record a heap dump when an OOM error occurs #9380

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +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.

# 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