Uploaded image for project: 'Apache Hudi'
  1. Apache Hudi
  2. HUDI-7519

Memory leaks in RocksDBDAO after rocksdbjni upgraded to 7

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Blocker
    • Resolution: Unresolved
    • None
    • None
    • compaction, core
    • None

    Description

      As stated in the following links

      Native memory leak through JNI after upgrading to 7.0.4

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            liuyuhao Kevin Lau
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: