You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Fabian Lange (JIRA)" <ji...@apache.org> on 2017/02/13 02:08:41 UTC

[jira] [Updated] (FELIX-5539) Directory Watcher leaks ZipInflater

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

Fabian Lange updated FELIX-5539:
--------------------------------
    Attachment: fileinstall.diff

Also fixes a problem in util which does leave the inflater open on exception

> Directory Watcher leaks ZipInflater
> -----------------------------------
>
>                 Key: FELIX-5539
>                 URL: https://issues.apache.org/jira/browse/FELIX-5539
>             Project: Felix
>          Issue Type: Bug
>          Components: File Install
>            Reporter: Fabian Lange
>         Attachments: fileinstall.diff
>
>
> 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.



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