You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Daniel Cunha (soro) (JIRA)" <ji...@apache.org> on 2015/06/10 00:33:01 UTC
[jira] [Resolved] (DELTASPIKE-594) Memory leak in
RepositoryComponents singleton
[ https://issues.apache.org/jira/browse/DELTASPIKE-594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Cunha (soro) resolved DELTASPIKE-594.
--------------------------------------------
Resolution: Fixed
> 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
> 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)