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.9.0, 2.8.4
            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

        

Reply via email to