We have used Camel to accept message from MQ, transform it and pass it to local JMS queue. The problem is that the memory used by this class does not get released for GC even after the messages have been processed. >From heap dump we see that the number of instances keeps on growing in the DefaultExchange class with every message processed. The heap utilization keeps growing and the server crashes due to out of memory. During crash we see 35,960 instances of "org.apache.camel.impl.DefaultExchange", loaded by "<system class loader>" occupy 971,121,360 (90.70%) bytes
-- View this message in context: http://camel.465427.n5.nabble.com/Out-of-memory-due-to-DefaultExchange-growing-tp5755825.html Sent from the Camel - Users mailing list archive at Nabble.com.
