[ 
https://issues.apache.org/jira/browse/GOBBLIN-2006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17830864#comment-17830864
 ] 

Arpit Varshney commented on GOBBLIN-2006:
-----------------------------------------

[https://github.com/apache/gobblin/pull/3883] pr is closed

> Retention Job should be more robust to OOM failures
> ---------------------------------------------------
>
>                 Key: GOBBLIN-2006
>                 URL: https://issues.apache.org/jira/browse/GOBBLIN-2006
>             Project: Apache Gobblin
>          Issue Type: Improvement
>          Components: misc
>            Reporter: Arpit Varshney
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Currently, while cleaning the log files, the Retention job goes into OOM and 
> fails when the no of log files is too many. 
> Retention job while fetching all the dataset versions, loads the file status 
> all at once into the memory, resulting in this issue. 
> Thus, the Retention job should avoid loading all data into memory, and use an 
> iterator-based approach. This will load only limited file status into memory 
> and making the retention job pipeline more robust to OOM errors



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to