You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Vinoth Chandar (Jira)" <ji...@apache.org> on 2021/06/30 22:42:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17372263#comment-17372263 ] 

Vinoth Chandar commented on HUDI-1010:
--------------------------------------

should we close this [~garyli1019], given the PRs are landed. or does this issue persist still

> 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: Sub-task
>          Components: Testing
>    Affects Versions: 0.9.0
>            Reporter: Yanjia Gary Li
>            Assignee: Nishith Agarwal
>            Priority: Major
>              Labels: help-wanted, user-support-issues
>             Fix For: 0.9.0
>
>         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!
>  
> Some related info in HUDI-997



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