camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <willem.ji...@gmail.com>
Subject Re: Mina endpoint
Date Mon, 26 Dec 2011 07:29:24 GMT
Do you try to set the -Xmx to 2GB ?

On Sun Dec 25 22:59:56 2011, Omar Atia wrote:
> Dears,
>
> I have Mina tcp end point I have changed the default thread pooling to the below :
>
>              <threadPoolProfile id="myDefaultProfile"
>              defaultProfile="true"
>              poolSize="100"
>              />
>
> In camel context.
>
> I'm getting the below error:
>    1641  12:07:59,335 919106 WARN  [Camel Thread 14 - MinaThreadPool] processor.UnitOfWorkProcessor
- Caught unhandled exception while processing ExchangeId:
> ID-tabsas01-etisalatng-com-55309-1324810387081-0-96
>    1642  java.lang.OutOfMemoryError: unable to create new native thread
>    1643          at java.lang.Thread.start0(Native Method)[:1.6.0.02]
>    1644          at java.lang.Thread.start(Thread.java:597)[:1.6.0.02]
>    1645          at java.util.concurrent.ThreadPoolExecutor.addIfUnderCorePoolSize(ThreadPoolExecutor.java:703)[:1.6.0.02]
>    1646          at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:652)[:1.6.0.02]
>    1647          at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:78)[:1.6.0.02]
>    1648          at org.apache.camel.processor.ThreadsProcessor.process(ThreadsProcessor.java:77)
>    1649          at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:78)[85:org.apache.camel.camel-core:2.8.0.fuse-01-06]
>    1650          at org.apache.camel.processor.Pipeline.process(Pipeline.java:116)[85:org.apache.camel.camel-core:2.8.0.fuse-01-06]
>    1651          at org.apache.camel.processor.Pipeline.process(Pipeline.java:79)[85:org.apache.camel.camel-core:2.8.0.fuse-01-06]
>    1652          at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:78)[85:org.apache.camel.camel-core:2.8.0.fuse-01-06]
>    1653          at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)[85:org.apache.camel.camel-core:2.8.0.fuse-01
>
>
> All is deployed on Fuse ESB service Mix, and Heap is 1GB , how much memory needs 100
pool ???
>
> Thanks,
> Omar Atia
>



-- 
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
         http://jnn.javaeye.com (Chinese)
Twitter: willemjiang 
Weibo: willemjiang 


Mime
View raw message