0 Replies Latest reply: Mar 29, 2012 5:55 AM by Niklas Schlimm RSS

    Memory Leak through MVCCInvocationContext

    Niklas Schlimm Newbie

      I have a problem when I redeploying my App on Tomcat several times I am getting an OutOfMemoryError. I hav looked at the Memory and it shows MVCCInvocationContext thread local in the 8080 worker threads.

      The only way to remove the thread local is through CacheInvocationDelegate.setInvocationContext(null).

      The issue is that I don't have direct access here.


      The documentation says that InvocationContextInterceptor does the clean up here. It doesn't obviously. (I checked if its in the chain - it is ...)


      I have attached the Memory Analyzer screen shot.


      Any help would be appreciated.