Re: Java heap space issue with Aggregation

2012-05-02 Thread Claus Ibsen
.split().tokenizeXML("IPDR").streaming() >                .aggregate(header("messageId"), new > GlobalAggrStratergy()).completionSize(5).completionTimeout(2) >                .process(new IPDRHeaderFooterProcessor()) >                .to(IPDRUtil.getInstance().getProperty("I

Re: Java heap space issue with Aggregation

2012-04-30 Thread Christian Müller
ex); >} > oldExchange.setProperty(Exchange.CONTENT_LENGTH, counter); > if(counter >= 50000) > counter = 0; > oldExchange.getIn().setHeader(Exchange.FILE_NAME_ONLY, > newExchange.getProperty(Exchange.FILE_NAME_ONLY)); >return oldExchange; >} > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Java-heap-space-issue-with-Aggregation-tp5670608p5676110.html > Sent from the Camel - Users mailing list archive at Nabble.com. >

Re: Java heap space issue with Aggregation

2012-04-30 Thread ebinsingh
amel.465427.n5.nabble.com/Java-heap-space-issue-with-Aggregation-tp5670608p5676295.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Java heap space issue with Aggregation

2012-04-30 Thread ebinsingh
if(counter >= 5) counter = 0; oldExchange.getIn().setHeader(Exchange.FILE_NAME_ONLY, newExchange.getProperty(Exchange.FILE_NAME_ONLY)); return oldExchange; } -- View this message in context: http://camel.465427.n5.nabble.com/Java-heap-sp

Re: Java heap space issue with Aggregation

2012-04-27 Thread Claus Ibsen
erty(Exchange.FILE_NAME_ONLY, >> simple("${file:onlyname.noext}")) >>                .split().tokenizeXML("IPDR").streaming() >>                .aggregate(header("messageId"), new >> GlobalAggrStratergy()).completionSize(5).completionTi

Re: Java heap space issue with Aggregation

2012-04-27 Thread Willem Jiang
} Thanks& regards, Ebe -- View this message in context: http://camel.465427.n5.nabble.com/Java-heap-space-issue-with-Aggregation-tp5670608p5670608.html Sent from the Camel - Users mailing list archive at Nabble.com. -- Willem -- CamelOne 2012 Conference,

Re: Java heap space issue with Aggregation

2012-04-27 Thread Christian Müller
> -Xms1024m -Xmx1024m > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Java-heap-space-issue-with-Aggregation-tp5670608p5671375.html > Sent from the Camel - Users mailing list archive at Nabble.com. >

Re: Java heap space issue with Aggregation

2012-04-27 Thread ebinsingh
I have set it as -Xms1024m -Xmx1024m -- View this message in context: http://camel.465427.n5.nabble.com/Java-heap-space-issue-with-Aggregation-tp5670608p5671375.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Java heap space issue with Aggregation

2012-04-27 Thread Christian Müller
... > > One instance of "char[]" loaded by "" occupies > 63,586,312 (87.23%) bytes > > > Please can someone help me is fixing this. > > Thanks & regards, > Ebe > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Ja

Re: Java heap space issue with Aggregation

2012-04-27 Thread ebinsingh
65427.n5.nabble.com/Java-heap-space-issue-with-Aggregation-tp5670608p5670938.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Java heap space issue with Aggregation

2012-04-27 Thread ebinsingh
org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java: -- View this message in context: http://camel.465427.n5.nabble.com/Java-heap-space-issue-with-Aggregation-tp5670608p5670850.html Sent from the Camel - Users mailing list archive at Nabble.com.

Java heap space issue with Aggregation

2012-04-27 Thread ebinsingh
FooterProcessor()) .to(IPDRUtil.getInstance().getProperty("IPDROutputDir")); } Thanks & regards, Ebe -- View this message in context: http://camel.465427.n5.nabble.com/Java-heap-space-issue-with-Aggregation-tp5670608p5670608.html Sent from the Camel - Users mailing list archive at Nabble.com.