DominicTulley wrote:
> 
> So far, I cannot prove that there is a memory leak.  Certainly this memory
> usage pattern does not occur if I just pump messages through ActiveMQ
> (heap usage stays at a constant 10Mb or so).  I have been attempting to
> profile this to find the culprit but it all runs so slowly I'm struggling
> to get any conclusive results.
> 
> So, I guess I'm asking if
> 1)  This is an expected memory usage profile and eventually stuff does get
> discarded
> 2)  Anyone knows of a problem in this area
> 3)  Anyone has got any clever ideas for how to profile this more
> successfully
> 

Memory leaks are easier to diagnose in JDK6 using jhat and jmap. I have used
it in the past to pinpoint which object is holding on to what and making an
educated guess based on that.
Here's a blog that shows how to do it
http://weblogs.java.net/blog/jfarcand/archive/2006/02/using_mustangs.html. 
Here's another for general troubleshooting links 
http://java.sun.com/javase/6/webnotes/trouble/
-- 
View this message in context: 
http://www.nabble.com/Possible-memory-leak-when-using-Camel-in-ActiveMQ-tf4346921s22882.html#a12389043
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to