-
Bug
-
Resolution: Done
-
Critical
-
9.4.19.Final
-
None
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
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
- clones
-
JDG-3818 Listener leaking and produce OOM error
- Closed