It's all about the answers!

Ask a question

RTC 5.0 client API memory leak on tomcat


Carlos Ordoyo (11) | asked Jan 04 '16, 10:31 a.m.
I am seeing the following messages on my tomcat log when using the RTC 5.0 client API, which eventually leads to a PermGen error after enough hot redeploys. Web service changes state an attribute in a workitem:

GRAVE: The web application [/GramolaService] appears to have started a thread named [MultiThreadedHttpConnectionManager cleanup] but has failed to stop it. This is very likely to create a memory leak.
04-ene-2016 12:01:50 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: The web application [/GramolaService] appears to have started a thread named [Worker-JM] but has failed to stop it. This is very likely to create a memory leak.
04-ene-2016 12:01:50 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: The web application [/GramolaService] appears to have started a thread named [Worker-0] but has failed to stop it. This is very likely to create a memory leak.
04-ene-2016 12:01:50 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: The web application [/GramolaService] created a ThreadLocal with key of type [org.eclipse.emf.ecore.impl.EClassImpl$1] (value [org.eclipse.emf.ecore.impl.EClassImpl$1@70a24849]) and a value of type [java.util.HashSet] (value [[]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
04-ene-2016 12:01:50 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: The web application [/GramolaService] created a ThreadLocal with key of type [org.apache.axis.utils.XMLUtils.ThreadLocalDocumentBuilder] (value [org.apache.axis.utils.XMLUtils$ThreadLocalDocumentBuilder@2e37ea64]) and a value of type [com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl] (value [com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl@58fd62f0]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
04-ene-2016 12:01:50 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: The web application [/GramolaService] created a ThreadLocal with key of type [com.ibm.team.repository.client.util.ThreadCheck$1] (value [com.ibm.team.repository.client.util.ThreadCheck$1@636aa834]) and a value of type [java.lang.Boolean] (value [false]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
04-ene-2016 12:01:50 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: The web application [/GramolaService] created a ThreadLocal with key of type [com.ibm.team.repository.client.util.ThreadCheck$1] (value [com.ibm.team.repository.client.util.ThreadCheck$1@636aa834]) and a value of type [java.lang.Boolean] (value [false]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
04-ene-2016 12:01:51 org.apache.catalina.startup.HostConfig checkResources

The same issue occurs at:
https://jazz.net/forum/questions/192430/rtc-50-client-api-memory-leak-on-tomcat

but there is no answer for it.



Thank you very much for your support.

Carlos.




Be the first one to answer this question!


Register or to post your answer.