You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Alexandre Rafalovitch (Jira)" <ji...@apache.org> on 2020/08/29 20:35:00 UTC

[jira] [Resolved] (SOLR-14645) Make FileListEntityProcessor streaming to prevent OOM

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

Alexandre Rafalovitch resolved SOLR-14645.
------------------------------------------
    Resolution: Won't Fix

> Make FileListEntityProcessor streaming to prevent OOM
> -----------------------------------------------------
>
>                 Key: SOLR-14645
>                 URL: https://issues.apache.org/jira/browse/SOLR-14645
>             Project: Solr
>          Issue Type: Improvement
>          Components: contrib - DataImportHandler
>            Reporter: Marco Bolis
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> FileListEntityProcessor currently works by keeping the whole list of files to process in memory and iterating over it.
> If the list is very large (think some 100s of Ks) Solr goes OOM and crashes.
> Using Java 8 Streams and NIO2 it is possible to entirely avoid this behavior.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org