[
https://issues.apache.org/jira/browse/TIKA-2341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tim Allison resolved TIKA-2341.
-------------------------------
Resolution: Fixed
Assignee: Tim Allison
Fix Version/s: 1.16
> Upgrade to commons compress 1.14 when available
> -----------------------------------------------
>
> Key: TIKA-2341
> URL: https://issues.apache.org/jira/browse/TIKA-2341
> Project: Tika
> Issue Type: Improvement
> Reporter: Tim Allison
> Assignee: Tim Allison
> Priority: Minor
> Fix For: 1.16
>
>
> For Tika 1.15, we added temporary copy/pastes of updated
> CompressorInputStreamFactory and ArchiveInputStreamFactory.
> There's now a static {{detect()}} method which should prevent OOMs while
> detecting some corrupt files.
> There's also now a {{memoryLimitInKb}} parameter that limits the amount of
> memory that can be allocated. This is can be used to protect against OOM for
> corrupt files that might appear to allege enormous block sizes.
> Many thanks to [~bodewig] and the commons-compress community for their quick
> responses to PRs!
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)