]
Wolf-Dieter Fink updated ISPN-11841:
------------------------------------
Security: (was: Red Hat Internal)
Listener leaking and produce OOM error
--------------------------------------
Key: ISPN-11841
URL:
https://issues.redhat.com/browse/ISPN-11841
Project: Infinispan
Issue Type: Bug
Components: Server
Affects Versions: 9.4.19.Final
Reporter: Will Burns
Assignee: Will Burns
Priority: Critical
Fix For: 9.4.20.Final
Register Listener will end up in a OutOfMemory error because it is never unregistered.
A Listener will be added per client connection and never removed.
Here TransactionRequestProcessor has a bug.
HeapDump analysis will show
{quote}
java.lang.Thread @ 0x760886888 timeout-thread--p3-t1 Native Stack, Thread
'- <Java Local>
java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue @ 0x76088ab00
'- queue java.util.concurrent.RunnableScheduledFuture[24] @ 0x760ec5ef0
'- [0] java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask @
0x7617bde40
'- callable java.util.concurrent.Executors$RunnableAdapter @ 0x7618b76c0
'- task org.infinispan.transaction.impl.TransactionTable$$Lambda$692 @
0x7618b76d8
'- arg$1 org.infinispan.transaction.impl.TransactionTable @
0x761617028
'- cacheManagerNotifier
org.infinispan.notifications.cachemanagerlistener.CacheManagerNotifierImpl @ 0x760f67878
'- cacheStoppedListeners java.util.concurrent.CopyOnWriteArrayList
@ 0x762068998
'- array java.lang.Object[647063] @ 0x7951cb888
{quote}