procedure TWebForm1.Button1_Click(sender: System.Object; e:
System.EventArgs);
var
DM:TDataModule1;
index:integer;
begin
for Index := 0 to 500 do begin
DM:=TDataModule1.Create(nil);
DM.free;
end;
end;
run this web app and take a full memory dump for worker process. Open dump
file with Windbg and look at statstics. result is;
MT Count TotalSize Class Name
4729724 501 26052 DM01.TDataModule1
what does it mean?
Are you actually running out of memory and getting errors? As far as I know
all this is telling you is that this much memory has been allocated by your
application, but not necessarily that it is still all in use.
--
Wayne Niddery - TeamB (www.teamb.com)
Winwright, Inc. (www.winwright.ca)