On Mon, Jan 2, 2012 at 4:42 PM, klauss42 <klaus.schroe...@ethalon.de> wrote: > well....after some profiling (and reading the docs), I found an explanation > on my own:-) > > The mock endpoints used in my unit test are the reason for the memory > increase. The mocks keep all messages in memory, just as it is documented. I > just did not see it in the docs. > > So if I change my route to use e.g. a dataset endpoint instead of the mocks, > the aggregator works fine with a constant memory footprint. > > Maybe this info is helpful for somebody else... >
Thanks for sharing your solution. Yeah the mock components eats memory :) > cheers > Klaus > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Aggregation-performance-depending-on-heap-space-tp5114812p5114862.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/