Anyone using MemCheck for leak detection?

From: Raptor (bogus_at_none.com)
Date: 02/20/05


Date: Sun, 20 Feb 2005 04:48:51 -0800

KMM leak checker refused to work for me. Maybe just as well, since the need
to wrap every block of potential problem code with ugly defines was a
depressing notion. There was also a pretty ugly collection of files
necessary to use the package.

I looked at several others, but they were either huge or without source or
both.

One called MemCheck (2.73) looks promising. A single 80K .pas file, include
it once in the .dpr file; it goes off when it encounters leaks, and creates
an output file.

The test programs I created to try it seem to work fine. A "Hello, world"
program is 1,800K plus, which feels strange, but this too shall pass.

Anyone else tried it, and if so with what results?

Raptor



Relevant Pages

  • Re: Anyone using MemCheck for leak detection?
    ... > KMM leak checker refused to work for me. ... > to wrap every block of potential problem code with ugly defines was a ... There was also a pretty ugly collection of files ...
    (alt.comp.lang.borland-delphi)
  • Re: Anyone using MemCheck for leak detection?
    ... > KMM leak checker refused to work for me. ... There was also a pretty ugly collection of files ... True, there's need to wrap code in defines, ...
    (alt.comp.lang.borland-delphi)