Hi, I have a camel route which will split the file based on the newline charterer and writes the data into 3 different files based on some business logic.
The file is 135MB in size. While running the route, the observation is the initial processing is pretty good however as the records get processed the aggregator is filling up the heap constantly and at one point the heap is full and the processing gets dead slow and comes to complete HOLD. The aggregator configuration is a below, is there a way we can ensure the heap is released as and when the records are dumped into the seda block? <route> <from uri="seda:NullProcessing?concurrentConsumers=1" /> <aggregate strategyRef="aggregatorStrategy" completionTimeout="1500" completionSize="750"> <correlationExpression> <constant>true</constant> </correlationExpression> <to uri="seda:processedRejects" /> </aggregate> </route> -Ganga -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Aggregator-Using-up-the-complete-heap-tp5774853.html Sent from the Camel Development mailing list archive at Nabble.com.