You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/02/04 15:28:51 UTC
[jira] [Commented] (KARAF-4978) Features Subsystem leaks native
memory
[ https://issues.apache.org/jira/browse/KARAF-4978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15852826#comment-15852826 ]
ASF subversion and git services commented on KARAF-4978:
--------------------------------------------------------
Commit 329134317199ddabecbc38ad8ce2baf637cd0f42 in karaf's branch refs/heads/master from [~fabianlange]
[ https://git-wip-us.apache.org/repos/asf?p=karaf.git;h=3291343 ]
[KARAF-4978] Fix native memory leak by not closing ZipInputStream
> 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)