.split().tokenizeXML("IPDR").streaming()
> .aggregate(header("messageId"), new
> GlobalAggrStratergy()).completionSize(5).completionTimeout(2)
> .process(new IPDRHeaderFooterProcessor())
> .to(IPDRUtil.getInstance().getProperty("I
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.
>
amel.465427.n5.nabble.com/Java-heap-space-issue-with-Aggregation-tp5670608p5676295.html
Sent from the Camel - Users mailing list archive at Nabble.com.
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
erty(Exchange.FILE_NAME_ONLY,
>> simple("${file:onlyname.noext}"))
>> .split().tokenizeXML("IPDR").streaming()
>> .aggregate(header("messageId"), new
>> GlobalAggrStratergy()).completionSize(5).completionTi
}
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,
> -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.
>
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.
...
>
> 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
65427.n5.nabble.com/Java-heap-space-issue-with-Aggregation-tp5670608p5670938.html
Sent from the Camel - Users mailing list archive at Nabble.com.
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.
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.
12 matches
Mail list logo