> > It is probably a false report...
> MadExcept also reports it as a memory leak.
So after say 10,000 connections, how much extra memory is your
application using than when it started? The VCL often leaks small
amounts of memory, but unless is cumulative it really does not matter.
Use something like:
var
ProcMem: TProcessMemoryCounters;
begin
GetProcessMemoryInfo (GetCurrentProcess, @ProcMem,
SizeOf(ProcMem)) ;
with ProcMem do
begin
AddLogLine ('Program Memory Usage: Working Set ' +
IntToKbyte (WorkingSetSize) + ', Paged Pool ' +
IntToKbyte (QuotaPagedPoolUsage) +
', Non Paged Pool ' + IntToKbyte (QuotaNonPagedPoolUsage)) ;
end ;
end;
You can also log program handle usage and global memory and handle usage
to find serious problems.
Angus
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be