Hi,

I had an earlier case where I was constantly starting and stopping two
routes (while one is active, the other is not) twice a minute (this was a
house-keeping background task scheduled with Quartz).

My system would run out of memory after several hours. Then I switched to
using suspend/resume and voilĂ ! the problem went away.

I'm not sure if this is related or not, but when I simply used resume (even
when the route was stopped), one of the routes would appear to start (all
the normal log output) but it did not actually do its work. Then, I started
checking the route ServiceStatus and either resuming or starting as needed,
and the routes worked correctly.

I know posting POC code might help but I'm really not sure where exactly the
problem lies. So, Camel team, please consider this as a heads-up there might
be some memory allocation problems associated with starting/stopping a
route.

Thanks,
Lunchbox

--
View this message in context: 
http://camel.465427.n5.nabble.com/Possible-memory-leak-in-Camel-tp4618516p4618516.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to