[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-6219?page=c...
]
Galder Zamarreno commented on HHH-6219:
---------------------------------------
Sergey, I think you're in the right path. If we focus only on 'fullMap' within
PendingPutMap which is the problematic collection here, it only has entries removed when
there're pending puts that never happened. IOW, the completed ones never get cleared.
So, it's primarily fullMap that either has to be cleared or nullified.
Memory leak with Infinispan cache
---------------------------------
Key: HHH-6219
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-6219
Project: Hibernate Core
Issue Type: Bug
Components: caching (L2)
Affects Versions: 3.6.4
Environment: JBoss 6.1, Hibernate 3.6.4.Final, Infinispan 4.2.1.Final
Reporter: Sergey Astakhov
Assignee: Galder Zamarreno
Priority: Blocker
We have problem with an memory leak in our application when setup Hibernate with use
Infinispan as L2 cache. After investigation of memory dumps, looks like all memory is
consumed by links, comming from PutFromLoadValidator objects (by pendingPuts map
collections). The PendingPutMap objects holding references to the PendingPut objects with
the state 'completed=true'. The state 'completed=true' is comming from
invalidateKey/invalidateRegion calls, but I didn't find any removals of the objects in
this state from PendingPutMap collections - may be this is cause of the leak.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira