camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mattg <>
Subject Memory leak with Camel JMX DefaultMBeanServerInterceptor
Date Mon, 11 Jun 2012 01:12:14 GMT
I've been looking into a memory leak we're experiencing with our Camel
application and have found that the culprit seems to be
Using MAT & taking heap dumps at the start and end of an 8 day period I can
see that the memory consumption for DefaultMBeanServerInterceptor has gone
from 115mb to 541mb.
If I drill down further I can see that the number of objects accumulated by
DefaultMBeanServerInterceptor  has increased from 4,403 to 14,385. Of the
managed resource objects being held by DefaultMBeanServerInterceptor, their
were 703 instances of at
the beginning of the 8 day period, and 10,657 by the end. So the majority of
14,385 objects being held by DefaultMBeanServerInterceptor were

We are running Camel version 2.8.3. The application is a messaging (SMS &
email) gateway connecting to multiple SMSCs and dozens of clients. It has
approx 340 routes and uses ActiveMQ.

We make extensive use of JMX to connect and query for memory usage, routes
and ActiveMQ queues every minute or so from a separate monitoring

Is there any knows memory issues with JMX being enabled in Camel,
specifically with ManagedThreadPool?

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message