You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Fabian Lange (JIRA)" <ji...@apache.org> on 2017/02/04 15:16:51 UTC

[jira] [Created] (KARAF-4978) Features Subsystem leaks native memory

Fabian Lange created KARAF-4978:
-----------------------------------

             Summary: Features Subsystem leaks native memory
                 Key: KARAF-4978
                 URL: https://issues.apache.org/jira/browse/KARAF-4978
             Project: Karaf
          Issue Type: Bug
            Reporter: Fabian Lange
            Priority: Critical


org.apache.karaf.features.internal.region.Subsystem.getMetadata(StreamProvider) leaks java native memory because it creates a ZipInputStream it doesnt close, which leaves the Inflater open.
This leaks native memory:
http://www.evanjones.ca/java-native-leak-bug.html

the fix is to close the ZipInputStream instead of only the InputStream



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