Message Boards

Liferay EHcache memory leakage

thumbnail
Abbas Malick, modified 9 Years ago.

Liferay EHcache memory leakage

New Member Posts: 21 Join Date: 2/10/14 Recent Posts
Hi,

I am facing issue "OutofMemoeryError" after 2,3 hours and needs to restart server, I took memoery dump and analysed using eclipse analyzer. It pointed ehcache as memory leakage suspect. below is out output

One instance of "net.sf.ehcache.store.chm.SelectableConcurrentHashMap" loaded by "org.apache.catalina.loader.WebappClassLoader @ 0xc029a5c8" occupies 155,718,792 (30.11%) bytes. The memory is accumulated in one instance of "net.sf.ehcache.store.chm.SelectableConcurrentHashMap$Segment[]" loaded by "org.apache.catalina.loader.WebappClassLoader @ 0xc029a5c8".

Any one know, how to overcome this issue.

Thanks,
Abbas
Alejandro Fuentes, modified 6 Years ago.

RE: Liferay EHcache memory leakage

New Member Post: 1 Join Date: 9/21/15 Recent Posts
I have the same Issue, also one instance of com.liferay.portal.servlet.filters.strip.StripFilter occupies 54% of Heap. Theres is a way to limit the cache mechanism in order to avoid OutOfMemory errors?