You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Resolved) (JIRA)" <ji...@apache.org> on 2012/02/27 08:10:48 UTC

[jira] [Resolved] (CAMEL-5045) Memory leak when adding/removing a lot of routes with JMX enabled

     [ https://issues.apache.org/jira/browse/CAMEL-5045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-5045.
--------------------------------

    Resolution: Fixed
    
> 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