You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Sophie Blee-Goldman (JIRA)" <ji...@apache.org> on 2019/05/03 23:32:00 UTC

[jira] [Created] (KAFKA-8324) User constructed RocksObjects leak memory

Sophie Blee-Goldman created KAFKA-8324:
------------------------------------------

             Summary: User constructed RocksObjects leak memory
                 Key: KAFKA-8324
                 URL: https://issues.apache.org/jira/browse/KAFKA-8324
             Project: Kafka
          Issue Type: Bug
            Reporter: Sophie Blee-Goldman


Some of the RocksDB options a user can set when extending RocksDBConfigSetter take Rocks objects as parameters. Many of these--including potentially large objects like Cache and Filter-- inherit from AbstractNativeReference and must be closed explicitly in order to free the memory of the backing C++ object. However the user has no way of closing any objects they have created in RocksDBConfigSetter, and we do not ever close them for them. 

 



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