[ 
https://issues.apache.org/jira/browse/KAFKA-8323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16832941#comment-16832941
 ] 

ASF GitHub Bot commented on KAFKA-8323:
---------------------------------------

ableegoldman commented on pull request #6676: KAFKA-8323: Should close filter 
in RocksDBStoreTest as well
URL: https://github.com/apache/kafka/pull/6676
 
 
   Forgot to also close the filter in RocksDBStoreTest in time. Thanks @bbejeck 
for merging (too!) quickly 😄 
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   
 
----------------------------------------------------------------
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:
us...@infra.apache.org


> Memory leak of BloomFilter Rocks object
> ---------------------------------------
>
>                 Key: KAFKA-8323
>                 URL: https://issues.apache.org/jira/browse/KAFKA-8323
>             Project: Kafka
>          Issue Type: Bug
>          Components: streams
>    Affects Versions: 2.2.0
>            Reporter: Sophie Blee-Goldman
>            Assignee: Sophie Blee-Goldman
>            Priority: Blocker
>             Fix For: 2.3.0, 2.2.1
>
>
> Any RocksJava object that inherits from org.rocksdb.AbstractNativeReference 
> must be closed explicitly in order to free up the memory of the backing C++ 
> object. The BloomFilter extends RocksObject (which implements 
> AbstractNativeReference) and should be also be closed in RocksDBStore#close 
> to avoid leaking memory.



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

Reply via email to