Ken:

 

I haven’t gotten into that much detail.  I’ve just been watching memory usage on the Widows Task manager Performance window and seen it jumping up continuously as the client runs.  Maintains the memory level when it stops and climbs again when I restart the client.  I only reclaim the memory when I stop the Apache service.

 

Thanks,

Theron

 


From: Kenneth F. Krutsch [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 03, 2005 12:39 PM
To: 'Apache AXIS C User List'
Subject: RE: memory leak

 

Theron:

 

How are you measuring the memory leak on the server-side?  That is, is it a constant leak per transaction or does the amount of memory leaked vary?

 

Thanks, Ken Krutsch

 


From: Theron Virgin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 03, 2005 1:22 PM
To: 'Apache AXIS C User List'
Subject: RE: memory leak

Yea

 So if I run this is the client side code using a fresh generated Calculator skeleton. Same on the server side with the addition of the code listed in the documentation.

void main()

{

      Calculator cal;

      for (int y = 0; y < 10000; y++)

      {

            int result = cal.add(0, y);

            printf(" %d \n",result);

            //if (y % 10 == 0) printf ("\n");

      }

}

 

Thanks much

Theron

 


From: John Hawkins [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 03, 2005 11:37 AM
To: Apache AXIS C User List
Subject: Re: memory leak

 


Hi,

Could you give us the complete scenario please.
Are you creating an instance of the stub and then calling the same method repeatedly or creating multiple instances of the stub ?

Perhaps you could just attach the code here?

cheers,
John.

"Theron Virgin" <[EMAIL PROTECTED]>

03/02/2005 17:46

Please respond to
"Apache AXIS C User List"

To

<[email protected]>

cc

 

Subject

memory leak

 

 

 




I was setting up my web service and I noticed that when I sent repetitive calls into the service I was getting a significant memory leak.  I decided to go back and check against the calculator example and I noticed that it also had the same problem with consistent memory loss when being used.  Is there some memory that I need to be freeing up somewhere that I don’t know about that isn’t handled in the calculator example?  Any help would be greatly appreciated as this needs to be a fairly stable service.  The service and client are running on separate machines so I’m sure the memory leak is caused by the service though I also get a memory leak with the client.
 
Thanks
Theron

  • RE: memory leak Theron Virgin

Reply via email to