小编Jim*_*osa的帖子

Tomcat/Grails内存泄漏

我每次使用grails应用程序取消部署时,都会在catalina.out日志中看到以下内容:

INFO: Closing Spring root WebApplicationContext
Jun 18, 2014 5:23:48 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/appName] appears to have started a thread named [PoolCleaner[935209663:1403137427048]] but has failed to stop it. This is very likely to create a memory leak.
Jun 18, 2014 5:23:48 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [/appName] created a ThreadLocal with key of type [org.codehaus.groovy.grails.orm.hibernate.support.HibernatePersistenceContextInterceptor$1] (value [org.codehaus.groovy.grails.orm.hibernate.support.HibernatePersistenceContextInterceptor$1@7b50a485]) and a value of type [java.util.HashMap] (value [{}]) but failed to remove it when the web application …
Run Code Online (Sandbox Code Playgroud)

grails memory-leaks hibernate tomcat7

6
推荐指数
1
解决办法
1165
查看次数

标签 统计

grails ×1

hibernate ×1

memory-leaks ×1

tomcat7 ×1