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"
|
|
|
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