J2EE Application Using Coherence As Hibernate L2 Cache Leaks Memory On MapEvent And Eventually Fails With OOME
(Doc ID 1492669.1)
Last updated on APRIL 28, 2020
Applies to:Oracle Coherence - Version 18.104.22.168 and later
Information in this document applies to any platform.
In a WLS 10.3.6 environment with Coherence 22.214.171.124 using Coherence as a L2 Cache for Hibernate, there is an OOME (java.lang.OutOfMemoryError) reported after 3-4 days of operation. There is a very clear memory leak caused by com.tangosol.coherence.component.net.Member.
There are three instances of this class use 91% of the WLS heap. Each instance of com.tangosol.coherence.component.net.Member contains in turn around 20000 instances each of com.tangosol.coherence.component.util.daemon.queueProcessor , service , grid.partitionedService.PartitionedCache$MapEvent.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document