ramkrish86 opened a new pull request #614: HBASE-22929 - MemStoreLAB 
ChunkCreator may memory leak(ram)
URL: https://github.com/apache/hbase/pull/614
 
 
   The leak is caused as said by @binlijin. The updateReaders() has already the 
memstoreScanners() list and so that is not getting closed. 
   We need to close the scanners if the close()  has already happened. The test 
case added here helps to identify the problem. Without the patch the test fails 
and with patch the test passes. 
   @chenxu14 - Pls take a look if this will solve the problem.
   @binlijin  - I just realised that the memstoreScanners() were passed by the 
Hstore#notifyChangedReadersObservers() and not got from the updateReaders(). 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to