我在tomcat服务器上遇到了这个错误。
Exception in thread "http-bio-8080-exec-17"
Exception in thread "http-bio-8080-exec-2"
Exception in thread "http-bio-8080-exec-15"
Exception in thread "http-bio-8080-exec-20"
Exception in thread "http-bio-8080-exec-18"
java.lang.OutOfMemoryError: Java heap space.
我看过MAT,但是如何在我的Tomcat服务器中生成.hprof文件呢?
谢谢。
7
当然取决于Tomcat版本(对我来说是/etc/default/tomcat8
)。 - pevik