在Apache Tomcat中运行的Web应用程序中查找内存泄漏的建议 [英] Suggestions for finding a memory leak in a web application running in Apache Tomcat
本文介绍了在Apache Tomcat中运行的Web应用程序中查找内存泄漏的建议的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个Axis2网络服务刚刚落在客户端网站上,它引发了以下异常:
java.lang.OutOfMemoryError:无法创建新的本机线程
I've got an Axis2 web service that just fell over on a client site it's throwing the following exception: java.lang.OutOfMemoryError: unable to create new native thread
我只是将日志从网站上删除但是在过渡期间,我想知道是否有人知道我可以使用任何监控工具来查找在Tomcat中运行的Web应用程序中的内存泄漏。
I'm just pulling the logs off the site but in the interim I was wondering if anyone knew of any monitoring tools I could use to find a memory leak in a web application running in Tomcat.
推荐答案
进行堆转储,并使用 Eclipse进行分析内存分析器。
Make a heap dump, and analyse it with Eclipse Memory Analyzer.
这篇关于在Apache Tomcat中运行的Web应用程序中查找内存泄漏的建议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文