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

Temporary file leak in ImageParser

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: 1.2
    • Component/s: parser
    • Labels:
      None

      Description

      The stream obtained through ImageIO.createImageInputStream is not closed (org.apache.tika.parser.image.ImageParser.parse(InputStream, ContentHandler, Metadata, ParseContext)). When performing a lot of parse operations, the process can easily run out of file descriptors.

        Attachments

        1. patch.svn.diff
          2 kB
          Niels Beekman

          Activity

            People

            • Assignee:
              mikemccand Michael McCandless
              Reporter:
              n.beekman Niels Beekman
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: