cancel
Showing results for 
Search instead for 
Did you mean: 

Am I having memory leak?

kossel
Champ in-the-making
Champ in-the-making
Hi

I have my alfresco on a intel xeon e5445, 4gb ram windows server 2008

after installation and configuration. I'm using 69% of my resource (about 900 mb goes to alfresco)
however everyday I check the task manager, the memory used by alfresco is increasing. after one week, it went from 69 to 90%, which using 1.4gb of ram.  :?:  :?:

in catalina.log show a lot of lines like these:

SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [org.alfresco.repo.security.authentication.AuthenticationUtil.ThreadLocalStack] (value [org.alfresco.repo.security.authentication.AuthenticationUtil$ThreadLocalStack@7553b15c]) and a value of type [java.util.Stack] (value [[]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Dec 3, 2012 11:14:46 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [org.alfresco.repo.policy.BaseBehaviour.StackThreadLocal] (value [org.alfresco.repo.policy.BaseBehaviour$StackThreadLocal@34969948]) and a value of type [java.util.Stack] (value [[]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Dec 3, 2012 11:14:46 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [org.alfresco.repo.policy.BaseBehaviour.StackThreadLocal] (value [org.alfresco.repo.policy.BaseBehaviour$StackThreadLocal@b2960f1]) and a value of type [java.util.Stack] (value [[]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Dec 3, 2012 11:14:46 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [org.alfresco.repo.policy.BaseBehaviour.StackThreadLocal] (value [org.alfresco.repo.policy.BaseBehaviour$StackThreadLocal@499b73f0]) and a value of type [java.util.Stack] (value [[]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Dec 3, 2012 11:14:46 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [org.alfresco.repo.policy.BaseBehaviour.StackThreadLocal] (value [org.alfresco.repo.policy.BaseBehaviour$StackThreadLocal@363437ac]) and a value of type [java.util.Stack] (value [[]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Dec 3, 2012 11:14:46 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@4320db11]) and a value of type [null] (value [org.alfresco.repo.web.scripts.RepositoryImageResolver$1@966dd30]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Dec 3, 2012 11:14:46 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [org.alfresco.repo.policy.BaseBehaviour.StackThreadLocal] (value [org.alfresco.repo.policy.BaseBehaviour$StackThreadLocal@77eb2538]) and a value of type [java.util.Stack] (value [[]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Dec 3, 2012 11:14:46 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [org.alfresco.repo.policy.BaseBehaviour.StackThreadLocal] (value [org.alfresco.repo.policy.BaseBehaviour$StackThreadLocal@7cd8b750]) and a value of type [java.util.Stack] (value [[]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Dec 3, 2012 11:14:46 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [org.alfresco.repo.policy.BaseBehaviour.StackThreadLocal] (value [org.alfresco.repo.policy.BaseBehaviour$StackThreadLocal@18f89c81]) and a value of type [java.util.Stack] (value [[]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Dec 3, 2012 11:14:51 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/solr] appears to have started a thread named [SolrTrackerScheduler_Worker-1] but has failed to stop it. This is very likely to create a memory leak.
Dec 3, 2012 11:14:51 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/solr] appears to have started a thread named [SolrTrackerScheduler_Worker-3] but has failed to stop it. This is very likely to create a memory leak.

I tried to use jconsole:
I don't see anything wrong, but I maybe incorrect. thats I want to know if I'm having memory leak

screenshot of jconsole:

http://s12.postimage.org/w6vz75t5n/Capture_jconsole.jpg
2 REPLIES 2

mrogers
Star Contributor
Star Contributor
You can safely ignore it.

kossel
Champ in-the-making
Champ in-the-making
thanks for quick answer, but how can you explain that my memory consuming is getting higher and higher? I have to reboot the server like once every 2 weeks in order to "reset" it, because when it get 99% my remote desktop starts to lag