This works well - Memcheck (Freeware) - is also on the DSP site. It works
with D5, May work with D4 - I may have older versions for D3/D4 if you need
them.
http://www.multimania.com/vincentmahon/memcheck.htm
There is also MemProof by Atanas Stoyanov - it was either on DSP or Torries
- it was freeware last time I looked.
You can by the Nu-Mega bounds checker also.
Myles.
> -----Original Message-----
> From: Simon Mahony [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, May 22, 2000 2:41 PM
> To: Multiple recipients of list delphi
> Subject: [DUG]: How can I check for memory leaks in Delphi.
>
> I have a small app which allocates and frees a large number of objects,
> and
> I want to make sure I haven't accidently missed freeing anything. Is there
> a
> Delphi function which can take a snapshot of the amount of memory before I
> start allocating memory, so I can compare it with what's left on the way
> out
> ? I have a vague recollection of using something like this in Delphi 1,
> but
> I haven't needed it since.
>
> Are there any better ways ?
>
> Cheers,
> Simon Mahony,
> MetService.
>
> --------------------------------------------------------------------------
> -
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz