Two ways to get the JVM dump file
Two additional parameters when starting JVM:
Health heap dump occurs when OOME:
-XX:+HeapDumpOnOutOfMemoryError
Health piles of documents Address:
-XX:HeapDumpPath=/home/heap.hprof
Discovery process by executing instructions before the exception, the JVM direct current generated dmp file, 6214 is the JVM process number
jmap -dump: format = b, file = / home / heap.hprof 6214