Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-5539

Directory Watcher leaks ZipInflater

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: fileinstall-3.6.2
    • Component/s: File Install
    • Labels:
      None

      Description

      The pattern used in DirectoyWatcher to close streams is closing the wrong stream (source input instead of jar). As a result of that, the ZipInflater created by JarInputStream remain open and leak native memory.

        Attachments

        1. fileinstall.diff
          10 kB
          Fabian Lange

          Activity

            People

            • Assignee:
              gnodet Guillaume Nodet
              Reporter:
              fabianlange Fabian Lange
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: