Abid

Can you give us some idea of the flows? I know that Synapse is usually
memory safe - I have thread dumps from people who have pumped 134
terabytes of data, 1.4 billion messages and all this with a max heap
size of <2Gb and no leaks.

Paul

On Thu, May 19, 2011 at 1:49 AM, Abid Khan-EXT <[email protected]> wrote:
> Hello all,
>
> I am troubleshooting an instance where I had used Synapse, the issue is that 
> after delivering few thousand message server runs out of memory.
>
> I investigated and found out that for each message that is delivered Synapse 
> is leaking following two objects:
>
> 1) org.apache.axis2.context.MessageContext
>
> 2) org.apache.synapse.core.axis2.Axis2MessageContext
>
> I thought that it might be related to threads and ThreadLocal, but when I 
> scanned the thread local of all 160+ threads those objects were not there.
>
> It seems that synapse is keeping those two object in its some internal 
> object, that is difficult to find.
>
> Because of this problem those objects; server leaks memory at very high rate, 
> and freezes after few hours of running?
>
> Any immediate response will be appreciated,
>
>
> Thanks,
> Abid
>



-- 
Paul Fremantle
Co-Founder and CTO, WSO2
Apache Synapse PMC Chair
OASIS WS-RX TC Co-chair

blog: http://pzf.fremantle.org
[email protected]

"Oxygenating the Web Service Platform", www.wso2.com

Reply via email to