axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kenneth F. Krutsch" <>
Subject RE: memory leak
Date Thu, 03 Feb 2005 19:39:27 GMT
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 [] 
Sent: Thursday, February 03, 2005 1:22 PM
To: 'Apache AXIS C User List'
Subject: RE: memory leak


 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




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



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? 


"Theron Virgin" <> 

03/02/2005 17:46 

Please respond to
"Apache AXIS C User List"






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

View raw message