AnsweredAssumed Answered

Plumbr detects memory Leak

Question asked by sleeper on Sep 9, 2013
Latest reply on Sep 23, 2013 by sleeper
I have been having problems running out of permgen space.  My maxPermSize is set to 1G and I have to restart the server about once a month because I run out of permgen space.

So I attached plumbr to the JVM and it says that it found a memory leak.

<report>

Currently 121618 leaked objects exist of class
net.sf.ehcache.store.chm.ConcurrentHashMap$HashEntry

The objects are created at
net.sf.ehcache.store.chm.ConcurrentHashMap$Segment.put(java.lang.Object, int, java.lang.Object, boolean):457

and are being held
in table of net.sf.ehcache.store.chm.ConcurrentHashMap$Segment
in segments of net.sf.ehcache.store.chm.SelectableConcurrentHashMap
in map of net.sf.ehcache.store.MemoryStore
in memoryStore of net.sf.ehcache.Cache
in cache of org.alfresco.repo.cache.EhCacheAdapter
in sharedCache of org.alfresco.repo.cache.TransactionalCache
in childByNameCache of org.alfresco.repo.domain.node.ibatis.NodeDAOImpl
in nodeDAO of org.alfresco.repo.domain.permissions.AclDAOImpl
in fAclDAO of org.alfresco.repo.avm.AVMDAOs
in fgInstance of org.alfresco.repo.avm.AVMDAOs
in elementData of java.util.Vector
in classes of org.apache.catalina.loader.WebappClassLoader
in com.thoughtworks.xstream.core.util.CompositeClassLoader

</report>

I have been searching for a fix on line and I have seen that some people see this error with Tomcat and they need to move the jar file under $TOMCAT/common/lib but I cannot do that.
Does anybody know what might be causing this error and what I might be able to do about it?

Thank you.

Outcomes