tomcat is outofmemory and unresponsive on the server. Is there any way to know what is occupying memory? Please recommend tools and methods.
光阴似箭催人老,日月如移越少年。
JDK_HOME/bin/ Execute jmap -dump:format=b,file=/home/longhao/heamdump.out <pid> You can also pass -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=${DOMAIN_HOME}/logs/ mps"dump and download it to the local systemUse Memory Analyzer to analyze
JDK_HOME/bin/
Execute jmap -dump:format=b,file=/home/longhao/heamdump.out <pid>
You can also pass -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=${DOMAIN_HOME}/logs/ mps"
dump and download it to the local system
Use Memory Analyzer to analyze