You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Dan Smith (JIRA)" <ji...@apache.org> on 2018/06/05 23:57:00 UTC

[jira] [Created] (GEODE-5292) Replace with concurrent clear and destroy leaks off heap memory

Dan Smith created GEODE-5292:
--------------------------------

             Summary: Replace with concurrent clear and destroy leaks off heap memory
                 Key: GEODE-5292
                 URL: https://issues.apache.org/jira/browse/GEODE-5292
             Project: Geode
          Issue Type: Bug
          Components: regions
            Reporter: Dan Smith


For a region that has been configured with off-heap storage and overflow to disk, memory can be leaked if

 * region clear
 * region destroy 
 * region replace

all happen concurrently. The root cause appears to be region clear modifying entries for values stored on disk without synchronizing the entries. This prevents replace from freeing the off-heap memory for the new value when the replace fails because the region is being destroyed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)