[
https://issues.apache.org/jira/browse/FELIX-1503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745904#action_12745904
]
Felix Meschberger commented on FELIX-1503:
------------------------------------------
Actually in the refactored implementation of configuration handling (using
ComponentHolder and implementations), this problem also applies to component
instances created on behalf of factory configurations.
> Component Factory instances are not let gone after dispose
> ----------------------------------------------------------
>
> Key: FELIX-1503
> URL: https://issues.apache.org/jira/browse/FELIX-1503
> Project: Felix
> Issue Type: Bug
> Components: Declarative Services (SCR)
> Affects Versions: scr-1.0.6, scr-1.0.8
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
> Fix For: scr-1.2.0
>
>
> Component factory instances retrieved with
> ComponentFactory.newInstance(Dictionary) are not removed from the internal
> maintenance data structure. In the longer run, this prevents the components
> from being garbage collected and eat up all memory.
> At one time we had a situation of 700'000 disposed ImmediateComponentManager
> instances kept in the ComponentFactory internal map....
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.