My Oracle Support Banner

Memory Leak on TcpInitiator openConnection for TCP Extend Clients (Doc ID 2723764.1)

Last updated on JANUARY 16, 2023

Applies to:

Oracle Coherence - Version and later
Information in this document applies to any platform.


A significant memory leak has been identified on TcpInitiator for TCP Extend clients that has the potential to cause complete loss of service.

The leak in question exists in com.tangosol.coherence.component.util.daemon.queueProcessor.service.peer.initiator.TcpInitiator#openConnection

On every cache request while the target proxy is down, the openConnection logic in TcpInitiator will add socket handles to __m_CloseOnExit set and doesn't remove them when the attempt to connect/open the socket fails. Over time, __m_CloseOnExit accumulates socket objects until it exhausts JVM heap.



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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.