[
https://issues.apache.org/jira/browse/HUDI-7519?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kevin Lau updated HUDI-7519:
----------------------------
Priority: Blocker (was: Major)
> Memory leaks in RocksDBDAO after rocksdbjni upgraded to 7
> ---------------------------------------------------------
>
> Key: HUDI-7519
> URL: https://issues.apache.org/jira/browse/HUDI-7519
> Project: Apache Hudi
> Issue Type: Bug
> Components: compaction, core
> Reporter: Kevin Lau
> Priority: Blocker
>
> As stated in the following links
> [Native memory leak through JNI after upgrading to
> 7.0.4|https://github.com/facebook/rocksdb/issues/9962]
> [AbstractNativeReference.java|https://github.com/facebook/rocksdb/blob/v7.5.3/java/src/main/java/org/rocksdb/AbstractNativeReference.java]
> After removed finalize() in RocksDB 7,it is required that users call
> {{close}} on RocksJava objects or use {{try-with-resource.}}
> I found several rocksdb objects in RocksDBDAO that were not released
> properly, such as {{DBOptions}},{{ColumnFamilyOptions}},{{WriteOptions}} and
> {{RocksIterator}}.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)