jojochuang opened a new pull request, #3400:
URL: https://github.com/apache/ozone/pull/3400

   Change-Id: I5e2f906508d92c1c21555aa51d9b5c97744f26cd
   (cherry picked from commit c1cda1d8e99555282b991f174d0bf597c0deb950)
   
   ## What changes were proposed in this pull request?
   
   Close RocksDB objects when they are not used.
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-6723
   
   ## How was this patch tested?
   
   This is tested in an internal branch, ran a few workloads.
   The RocksDB jar was replaced with a custom build which prints memory leak in 
stdout. This is the code: 
https://github.com/jojochuang/rocksdb/commits/debug_memory_leak
   
   With this change, most of the leaks are now gone, except during OM 
initialization when load DB. Didn't care much about them as they account for 
very little memory usage.


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to