分析tomcat快照內存溢出

tomcat內存溢出 可以讓tomcat自動產生快照,配置如下: -XX:+HeapDumpOnOutOfMemoryError -XX:-PrintConcurrentLocks -XX:HeapDumpPath=/usr/local/installed/tomcat/m.hprof 可以自己手動創建快照,命令如下 jmap -dump:live,format=b,file=m.hprof PI
相關文章
相關標籤/搜索