SOAP memory leak problem
"Sencer Sultanoglu" <[email protected]>
| Newsgroups | gmane.comp.lang.delphi.programming |
|---|---|
| Message-ID | <[email protected]> |
Hi all,
We are using delphi 7 and windowsXP. If we do consecutive calls to a
soapServer function memory usage of the application increases periodically
with value of 4K, as we can see from Windows Task Manager. Is this a
component bug or should we do some special operation?
Code is below. Creating SOAP component as SOAP := THTTPRio.Create(nil);
or SOAP := THTTPRio.Create(form1); does not make any difference. Soaptest is
a simple server function that returns true.
Thanks,
----
unit untsoap;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, InvokeRegistry, Rio, SOAPHTTPClient, StdCtrls, IIsoaptestsrv1;
type
TForm1 = class(TForm)
Button1: TButton;
procedure Button1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
SOAP : THTTPRIO;
implementation
{$R *.dfm}
procedure TForm1.Button1Click(Sender: TObject);
begin
SOAP := THTTPRio.Create(form1);
SOAP.URL := .......;
while 1=1 do
begin
(SOAP as IIsoaptestsrv).soapTest;
application.processMessages;
sleep(200);
end;
end;
end.
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free shipping on all inkjet cartridge & refill kit orders to US & Canada. Low prices up to 80% off. We have your brand: HP, Epson, Lexmark & more.
http://www.c1tracking.com/l.asp?cid=5510
http://us.click.yahoo.com/GHXcIA/n.WGAA/ySSFAA/i7folB/TM
---------------------------------------------------------------------~->
CodeCoffer - new Delphi code protection Tool!
http://www.delphicollection.com/public/CodeCoffer.htm
---------------------------------------------------------------
Unsubscribe:[email protected]
List owner:[email protected]
---------------------------------------------------------------
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/