我正在使用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)实例。如何检查它并如何修复它?