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

Tim Allison resolved TIKA-2330.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 1.15

Didn't touch 2.0 because we should have an updated Commons Compress by then.

> Prevent preventable OOM in CompressorInputStream
> ------------------------------------------------
>
>                 Key: TIKA-2330
>                 URL: https://issues.apache.org/jira/browse/TIKA-2330
>             Project: Tika
>          Issue Type: Improvement
>            Reporter: Tim Allison
>            Priority: Minor
>             Fix For: 1.15
>
>
> On TIKA-1631, users noted that merely detecting an {{x-compress}} file could 
> cause an OOM because we were instantiating the stream as part of detection. 
> On COMPRESS-382, [~lfcnassif] noted that something similar happens with LZMA.
> Let's work with the Compress project to:
> 1) add a static {{detect}} that doesn't instantiate the streams (COMPRESS-385)
> 2) allow a parameterizable limit on the amount of allocated space for 
> {{x-compress}} (COMPRESS-386) and {{LZMA}} (COMPRESS-382)
> Until we have a chance to make these changes in the compress project, let's 
> temporarily copy/paste/update from Compress to fix these within Tika.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to