On Thu, Sep 11, 2008 at 1:40 PM, Milinda Pathirage < [EMAIL PROTECTED]> wrote: You can use top as well attach to a particular process- here simple_http_server process, try with top -P with process ID.
-Rajika > I think I have made a mistake in previous mail by looking at GNOME System > Monitor to get the memory used by simple axis server. I found this mail with > the subject 'HowTo: Profile Memory in a Linux System'[1] while searching the > net. Using the ps command mentioned in that, I have found following values > in Ubuntu Linux 8.04. > > Simple Axis Server: > RSS : 1780KB > VSIZE: 3420KB > > Echo Client(I used a sleep call after doing the actual request using > axis2_svc_client and measure the memory taken by the echo process): > RSS: 1808 KB > VSIZE: 3104KB > > Definitions: > --------------- > RSS (Resident Set Size) - The portion of a process that exists in physical > memory (RAM). The rest of the program exists in swap. If the computer has > not used swap, this number will be equal to VSIZE. > VSIZE (Virtual memory SIZE) - The amount of memory the process is currently > using. This includes the amount in RAM and the amount in swap. > > Links: > -------- > [1] http://mail.nl.linux.org/linux-mm/2003-03/msg00077.html > > Thanks, > Milinda > > > > On Thu, Sep 11, 2008 at 10:51 have founAM, Supun Kamburugamuva < > [EMAIL PROTECTED]> wrote: > >> A echo client invocation uses 3440k of memory in my Windows XP machine. >> I've tested this with the math sample as well. It also consumes equal amount >> of memory. Also the memory foot print for the simple axis2 server is in the >> same range. >> >> Regards, >> Supun >> >> >> On Thu, Sep 11, 2008 at 9:18 AM, Milinda Pathirage < >> [EMAIL PROTECTED]> wrote: >> >>> Hi, >>> I did some simple tests to find out memory footprint. Here are the >>> results: >>> >>> Simple Axis2/C Server(Sleeping): 400KB >>> When I run echo sample simple axis server takes 472KB memory even after >>> echo requests are handled. >>> >>> There may be memory leaks in simple axis server because most of the time >>> we use it only for testing purposes. If you want to use simple axis2 server, >>> I think we'll be able to fix those leaks. >>> >>> Thanks >>> Milinda >>> >>> >>> On Thu, Sep 11, 2008 at 7:32 AM, Rajika Kumarasiri <[EMAIL PROTECTED]>wrote: >>> >>>> >>>> >>>> On Thu, Sep 11, 2008 at 3:23 AM, Saad Nader <[EMAIL PROTECTED]> wrote: >>>> Interesting question!, I am not aware of the fact how much memory is >>>> used by Axis2/C. But you should be able to measure it using few simple >>>> tools, under Linux or Windows. In linux you can start the server and try >>>> 'top' to observer the memory usage of the server by sending few requests to >>>> it. >>>> >>>> -Rajika >>>> >>>> Hello All, >>>>> >>>>> >>>>> >>>>> We're working on some middleware that will run on embedded devices. We >>>>> need to consider memory footprint before using the Axis2 system. What is >>>>> the typical memory footprint that a simple echo app uses for each module? >>>>> We will be using the http sender and receiver. >>>>> >>>>> >>>>> >>>>> Thanks, >>>>> >>>>> ------------------------ >>>>> >>>>> Saad Nader >>>>> >>>>> Middleware Engineer >>>>> >>>>> Powered By Gamespy >>>>> >>>>> www.poweredbygamespy.com >>>>> >>>>> >>>>> >>>> >>>> >>>> >>>> -- >>>> http://wso2.org/ >>>> http://llvm.org/ >>>> http://www.osdev.org/ >>>> >>> >>> >>> >>> -- >>> http://mpathirage.com >>> http://wso2.org "Oxygen for Web Service Developers" >>> http://wsaxc.blogspot.com "Web Services With Axis2/C" >>> >> >> >> >> -- >> Software Engineer, WSO2 Inc >> > > > > -- > http://mpathirage.com > http://wso2.org "Oxygen for Web Service Developers" > http://wsaxc.blogspot.com "Web Services With Axis2/C" > -- http://wso2.org/ http://llvm.org/ http://www.osdev.org/
