简体   繁体   English

使用Eclipse内存分析器分析堆转储

[英]analyzing heap dump with eclipse memory analyser

I have generated a heap dump into a file using the jmap command and I am doing memory analysis using Eclipse Mars. 我已经使用jmap命令将堆转储生成到文件中,并且正在使用Eclipse Mars进行内存分析。 I am basically trying to figure out the memory leak in Tomcat 8. Whenever, I start Tomcat 8, I keep on getting the Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded in the tomcat logs and hence I am doing all this to figure out the leak. 我基本上是想弄清楚Tomcat 8中的内存泄漏。每当我启动Tomcat 8时,我都会继续获取Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded tomcat日志中Caused by: java.lang.OutOfMemoryError: GC overhead limit exceededCaused by: java.lang.OutOfMemoryError: GC overhead limit exceeded ,因此我正在做所有这一切找出泄漏。

I can see the following report(screenshot) in eclipse but I am unable to figure out how to fix this problem. 我可以在日食中看到以下报告(屏幕截图),但无法弄清楚如何解决此问题。 Please let me know if more screenshots are needed. 请让我知道是否需要更多屏幕截图。

在此处输入图片说明

Another thing I have tried before performing above steps : 在执行上述步骤之前,我尝试了另一件事:

I set up a setenv.bat file and included the following instructions in it : 我设置了一个setenv.bat文件,并在其中包含以下说明:

set JAVA_OPTS=-Dfile.encoding=UTF-8 -Xms128m -Xmx1024m -XX:PermSize=64m -XX:MaxPermSize=256m

However, this thing didn't help me. 但是,这东西对我没有帮助。

Could you elaborate it more? 您能详细说明一下吗? The leak might be occurring because of your deployed applications 可能是由于部署了应用程序而导致泄漏

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM