[jboss-user] [JBossCache] - Re: Memory leak when using JbossCache and JOTM
do-not-reply at jboss.com
Wed Mar 14 12:57:26 EDT 2007
Does the reference chain from the JOTM object lead through a javax.transaction.Synchronization implementation? For example, org.jboss.cache.interceptors.TxInterceptor$RemoteSynchronizationHandler (or TxInterceptor$LocalSynchronizationHandler)?
If not, please post the full reference chain.
If so, two possibilites:
1) JOTM is holding onto the ref to the Synchronization for a little while, but will eventually clean it up and your object will be gc'd.
2) JOTM is holding a ref to the Synchronization and won't ever release it. That would be a bug in JOTM.
See http://www.jboss.com/index.html?module=bb&op=viewforum&f=164 for a question I raised with our transaction gurus that deals with a strategy we could employ to aggressively cut the reference chain.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4028039#4028039
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4028039
More information about the jboss-user