You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2017/02/09 09:44:41 UTC
[jira] [Resolved] (KARAF-4978) Features Subsystem leaks native
memory
[ https://issues.apache.org/jira/browse/KARAF-4978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet resolved KARAF-4978.
------------------------------------
Resolution: Fixed
Fix Version/s: 4.1.1
4.0.9
> 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
> Assignee: Fabian Lange
> Priority: Critical
> Fix For: 4.0.9, 4.1.1
>
>
> 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)