Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-1127

Memory leak in CacheStoreInterceptor

XMLWordPrintable

      CacheStoreInterceptor leaks org.infinispan.transaction.xa.GlobalTransaction objects. Amount of live org.infinispan.transaction.xa.GlobalTransaction objects is climbing during cache work.

      It is possible due to two reasons:
      1. when cache is in async replication mode entries from both txStores and preparingTxs are never deleted (maybe like JBCACHE-1454 ?).

      2. when cache is in sync mode (I tested on dist sync mode), entries from preparingTxs are not deleted in commit method (in case no exceptions raise).

      So preparingTxs are never cleaned at all. Problem with txStores appears only with async mode.

        1. test-leak.tar.bz2
          2 kB
          Sergey Kondratyev

              rh-ee-galder Galder ZamarreƱo
              seirge Sergey Kondratyev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: