karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-4978) Features Subsystem leaks native memory
Date Sat, 04 Feb 2017 15:33:52 GMT

    [ https://issues.apache.org/jira/browse/KARAF-4978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15852827#comment-15852827
] 

ASF subversion and git services commented on KARAF-4978:
--------------------------------------------------------

Commit 764309ce4b6baecea969979d29763a21040e7597 in karaf's branch refs/heads/karaf-4.0.x from
[~fabianlange]
[ https://git-wip-us.apache.org/repos/asf?p=karaf.git;h=764309c ]

[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)

Mime
View raw message