【发布时间】:2015-12-27 20:19:07
【问题描述】:
我正在使用 Spring/Spring Boot/MySQL 开发 Java Web 应用程序并将其部署到 Tomcat 8。
在 Tomcat Web 应用程序管理器中,我单击 Reload 按钮,成功重新部署后 - Find Leaks 按钮并显示以下消息:
The following web applications were stopped (reloaded, undeployed), but their
classes from previous runs are still loaded in memory, thus causing a memory
leak (use a profiler to confirm):
/domain-api
/domain-api
我的 Tomcat 日志不包含有关可能的内存泄漏的消息..
现在我的应用程序(domain-api)的 2 个实例正在运行。如何检查它以及如何修复它?
【问题讨论】:
标签: tomcat memory-leaks spring-boot tomcat8