You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Raymond Xu (Jira)" <ji...@apache.org> on 2020/10/13 00:47:00 UTC

[jira] [Updated] (HUDI-1010) Fix the memory leak for hudi-client unit tests

     [ https://issues.apache.org/jira/browse/HUDI-1010?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raymond Xu updated HUDI-1010:
-----------------------------
        Parent:     (was: HUDI-781)
    Issue Type: Bug  (was: Sub-task)

> Fix the memory leak for hudi-client unit tests
> ----------------------------------------------
>
>                 Key: HUDI-1010
>                 URL: https://issues.apache.org/jira/browse/HUDI-1010
>             Project: Apache Hudi
>          Issue Type: Bug
>          Components: Testing
>            Reporter: Yanjia Gary Li
>            Assignee: Nishith Agarwal
>            Priority: Major
>              Labels: help-wanted
>             Fix For: 0.6.1
>
>         Attachments: image-2020-06-08-09-22-08-864.png
>
>
> hudi-client unit test has a memory leak, which could be some resources are not properly released during the cleanup. The memory consumption was accumulating over time and lead to the Travis CI failure. 
> By using the IntelliJ memory analysis tool, we can find the major leak was HoodieLogFormatWriter, HoodieWrapperFileSystem, HoodieLogFileReader, e.t.c
> Related PR: [https://github.com/apache/hudi/pull/1707]
> [https://github.com/apache/hudi/pull/1697]
> !image-2020-06-08-09-22-08-864.png!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)