You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Julian Reschke (JIRA)" <ji...@apache.org> on 2017/12/30 09:06:07 UTC

[jira] [Closed] (OAK-7052) Active deletion purge can OOM if number of blobs listed in a file become too large

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

Julian Reschke closed OAK-7052.
-------------------------------

> Active deletion purge can OOM if number of blobs listed in a file become too large
> ----------------------------------------------------------------------------------
>
>                 Key: OAK-7052
>                 URL: https://issues.apache.org/jira/browse/OAK-7052
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: lucene
>            Reporter: Vikas Saurabh
>            Assignee: Vikas Saurabh
>             Fix For: 1.7.14, 1.8
>
>
> Actively deletion, while purging, reads blob ids from a file using {{FileUtils#readLines}}. That method returns a list, while we only require to iterate over the file contents line-by-line.
> We should probably switch to {{FileUtils#lineIterator}} to clearly declare our intent to read line by line.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)