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

Harald Wellmann commented on DELTASPIKE-594:
--------------------------------------------

Small API change: please review!

> 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: Harald Wellmann
>
> {{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)

Reply via email to