You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Martin Krüger (JIRA)" <ji...@apache.org> on 2015/10/15 12:33:05 UTC
[jira] [Updated] (KARAF-4068) Memory leak in SessionFactoryImpl
class
[ https://issues.apache.org/jira/browse/KARAF-4068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Krüger updated KARAF-4068:
---------------------------------
Attachment: 0001-KARAF-4068-Remove-unused-list-of-sessions.patch
The attached patch just removes the list. Depending on the code style used in the project there are ways to improve the patch in terms code compliance.
> Memory leak in SessionFactoryImpl class
> ---------------------------------------
>
> Key: KARAF-4068
> URL: https://issues.apache.org/jira/browse/KARAF-4068
> Project: Karaf
> Issue Type: Bug
> Components: karaf-shell
> Affects Versions: 4.0.2
> Reporter: Martin Krüger
> Attachments: 0001-KARAF-4068-Remove-unused-list-of-sessions.patch
>
>
> In SessionFactoryImpl there is a list which tracks the created sessions. But nowhere in the code the sessions are removed from the list again. Also there is no use for those sessions as far as I can see (the class is not exported and the variable seems not to be used in the package).
> The proposed fix to that particular problem would be to remove the list.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)