Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-3818

Listener leaking and produce OOM error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • RHDG 7.3.7.GA
    • JDG 7.3 GA, RHDG 7.3.5 GA, RHDG 7.3.6 GA
    • API and Configuration
    • 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

              dberinde@redhat.com Dan Berindei (Inactive)
              rhn-support-wfink Wolf Fink
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: