Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-2341

Upgrade to commons compress 1.14 when available

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.16
    • Component/s: None
    • Labels:
      None

      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 Stefan Bodewig and the commons-compress community for their quick responses to PRs!

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tallison Tim Allison
                Reporter:
                tallison Tim Allison
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: