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

Memory leaks in RocksDBDAO after rocksdbjni upgraded to 7

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsAdd voteVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned Assign to me
            liuyuhao Kevin Lau

            Dates

              Created:
              Updated:

              Slack

                Issue deployment