RE: SOAP memory leak problem

"Sencer Sultanoglu" <[email protected]>
Newsgroups gmane.comp.lang.delphi.programming
Message-ID <[email protected]>
Hi,
Problem seems to be misunderstood. I'll try to explain again. Shorty, for
each call of a SOAP serverFunction memory size increases 4K. There is a
sample code below, in a while loop,  I call a SOAP server function and
memory size increases. After calling a serverFunction sould I do something
special or is this a THTTPRIO bug? Do you have any ideas?

Thank you,


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.





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/



------------------------ 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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.