Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

RTC 5.0 client API memory leak on tomcat

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.




0 votes


Be the first one to answer this question!

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,937

Question asked: Jan 04 '16, 10:31 a.m.

Question was seen: 1,678 times

Last updated: Jan 04 '16, 10:31 a.m.

Confirmation Cancel Confirm