[
https://issues.apache.org/jira/browse/CAMEL-5045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13217085#comment-13217085
]
Claus Ibsen commented on CAMEL-5045:
------------------------------------
I created CAMEL-5046 to track the leak from CAMEL-4500 with ManagedTracer as it
only affects 2.9 onwards.
> Memory leak when adding/removing a lot of routes with JMX enabled
> -----------------------------------------------------------------
>
> Key: CAMEL-5045
> URL: https://issues.apache.org/jira/browse/CAMEL-5045
> Project: Camel
> Issue Type: Bug
> Components: camel-core, jmx
> Affects Versions: 2.8.4, 2.9.0
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Fix For: 2.8.5, 2.9.1, 2.10.0
>
>
> If you add and remove a lot of routes to CamelContext and have JMX enabled,
> then the DefaultManagementLifecycleStrategy will accumulate a map of
> provisional JMX performance counters for the route mbeans. The map should be
> cleared after usage, as the map is no longer needed.
> Memory will accumulate as the map has reference to old objects which cannot
> be GC.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira