Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-5045

Memory leak when adding/removing a lot of routes with JMX enabled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.8.4, 2.9.0
    • 2.8.5, 2.9.1, 2.10.0
    • camel-core, jmx
    • None
    • Unknown

    Description

      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.

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: