[
https://issues.jboss.org/browse/ISPN-1127?page=com.atlassian.jira.plugin....
]
Galder Zamarreño commented on ISPN-1127:
----------------------------------------
Sergey, do you have some unit test showing these issues, or a heap dump that we can
inspect to verify the memory leak?
Memory leak in CacheStoreInterceptor
------------------------------------
Key: ISPN-1127
URL:
https://issues.jboss.org/browse/ISPN-1127
Project: Infinispan
Issue Type: Bug
Components: Loaders and Stores
Affects Versions: 4.2.1.FINAL, 5.0.0.CR3
Reporter: Sergey Kondratyev
Assignee: Manik Surtani
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.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira