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 2014/07/16 14:38:05 UTC

[jira] [Resolved] (KARAF-2910) Properties login module seems to leak a PropertiesInstaller reference results in OOM

     [ https://issues.apache.org/jira/browse/KARAF-2910?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet resolved KARAF-2910.
------------------------------------

    Resolution: Fixed

> Properties login module seems to leak a PropertiesInstaller reference results in OOM
> ------------------------------------------------------------------------------------
>
>                 Key: KARAF-2910
>                 URL: https://issues.apache.org/jira/browse/KARAF-2910
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-security
>    Affects Versions: 2.3.2
>         Environment: jaas login
>            Reporter: Gary Tully
>            Assignee: Guillaume Nodet
>             Fix For: 2.4.0, 4.0.0, 3.0.2, 2.3.6
>
>         Attachments: KARAF-2910-test+patch.txt
>
>
> with the default jaas login config - repeated login attempts lead to OOM.
> heap dump shows:
> org.apache.karaf.jaas.modules.properties.PropertiesInstaller 86,374 instances
> on investigation seems each PropertiesLogin init registers a PropertiesInstaller service that I don't see used.
> Unit test and possible fix (though I have no idea what a PropertiesInstaller service should do) attached.



--
This message was sent by Atlassian JIRA
(v6.2#6252)