karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fabian Lange (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-4978) Features Subsystem leaks native memory
Date Sat, 04 Feb 2017 15:16:51 GMT
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)

Mime
View raw message