[
https://issues.apache.org/jira/browse/TIKA-2341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tim Allison updated TIKA-2341:
------------------------------
Description:
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!
> 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
> Priority: Minor
>
> 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)