Hi,

Thank you for the valuable answer. The problem was that instances of my web 
service increases every time i make a request. Eventhough as the time passes 
the GC cleans the unused instances it was still a problem. After i change the 
session scope of the web service to request the problem is solved. The memory 
goes back to normal level after each request ends.
Fatih Güçlü Akkaya

Software Development Engineer
 



 

ARDIC ARGE BILGI VE TEKNOLOJI ÇÖZÜMLERI

APPLIED RESEARCH DEVELOPMENT INNOVATION CENTER

Tel:       + 90 262 642 42 52

GSM:     + 90 554 542 48 50



-----Original Message-----
From: carbon-dev-boun...@wso2.org on behalf of Afkham Azeez
Sent: Wed 12/21/2011 15:08
To: carbon-dev@wso2.org
Subject: Re: [Carbon-dev] Increase of RAM usage by MTOM web service
 
2011/12/21 Güçlü Akkaya <guclu.akk...@ardictech.com>

> **
>
> Hi all,
>
> I have written a web service for uploading and downloading files as MTOM
> attachments.(By setting MTOM true in the configuration of the web service.)
> Currently i am trying to make some load tests. However each time i use the
> download function of the web service the RAM usage increases. For possible
> memory leaks i was checking the host wso2 server with jconsole. *The heap
> usage drops to normal after the function terminates*.
>
If the used memory increases while a certain task is performed, and returns
to the original memory level after the task is completed, by definition, it
is NOT a memory leak.

>  In the attachment you can find the heap histogram before the function is
> used and the function used after 10 times downloading a file of 70mb.
>
> Thanks
>
>
> Fatih Güçlü Akkaya
>
> Software Development Engineer
>
>
>
>
>
>
> ARDIC ARGE BILGI VE TEKNOLOJI ÇÖZÜMLERI
>
> APPLIED RESEARCH DEVELOPMENT INNOVATION CENTER
>
> Tel:       + 90 262 642 42 52
>
> GSM:     + 90 554 542 48 50
>
>
> _______________________________________________
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* <http://www.apache.org/>**
email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919
blog: **http://blog.afkham.org* <http://blog.afkham.org>*
twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*

<<winmail.dat>>

_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to