You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by suman <pr...@gmail.com> on 2011/12/21 11:40:53 UTC

Re: Possible Memory Leak when JMX is enabled

Hello Guys,
Just updating this message as i experienced similar memory leak.But it was
very obvious that it was because of 
1)enabling JMX.
so i disabled it in camelcontext
 <jmxAgent id="agent" disabled="true" />

2)i was starting and stopping routes dynamically and when i used to stop,i
just used to call stopRoute().
Now iam calling removeRoute() as well to free up resources.

Now there is no increase in old generation.Also on a different note,try
Eclipse memory Analyzer if you haven't allready.Its awesome.Also install
VisualGC plugin for VisualVM if you havent allready.

Cheers




--
View this message in context: http://camel.465427.n5.nabble.com/Possible-Memory-Leak-when-JMX-is-enabled-tp4359979p5091516.html
Sent from the Camel - Users mailing list archive at Nabble.com.