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

Temporary file leak in ImageParser

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0
    • 1.2
    • parser
    • 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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment