You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/07/21 02:08:21 UTC

[jira] [Commented] (DELTASPIKE-594) Memory leak in RepositoryComponents singleton

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

ASF GitHub Bot commented on DELTASPIKE-594:
-------------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/deltaspike/pull/39


> Memory leak in RepositoryComponents singleton
> ---------------------------------------------
>
>                 Key: DELTASPIKE-594
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-594
>             Project: DeltaSpike
>          Issue Type: Bug
>          Components: Data-Module
>    Affects Versions: 0.7
>            Reporter: Harald Wellmann
>            Assignee: Daniel Cunha
>             Fix For: 1.4.1
>
>
> {{RepositoryComponentsFactory}} has a static singleton member of type {{RepositoryComponents}}.
> Repository classes are added to this singleton, but are never deleted.
> This will cause a classloader leak when the DeltaSpike modules live longer than application modules, e.g. in OSGi when each DeltaSpike module is a separate bundle, or in WildFly when DeltaSpike is installed as a JBoss module.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)