Re: How to (easily) trace leaking memory



Mat Ballard wrote:

Several. I use FastMM4 in all my projects. This barfs (when set up
correctly) on exit if there are any memory leaks. I personally find
the process of then finding the exact location of the leak a bit
tedious and cryptic with FastMM4, so I switch to MemCheck to locate
the problem.

Do you generate a log file with the full version of FastMM4? The
default version that comes with Delphi doesn't include the more
advanced features.

--
TJSDialog - TaskDialog for other operating systems:
http://www.jed-software.com/jsd.htm
Visual Forms IDE Add In: http://www.jed-software.com/vf.htm

Blog: http://jedqc.blogspot.com
.



Relevant Pages

  • Re: How to (easily) trace leaking memory
    ... This barfs on exit if there are any memory leaks. ... I personally find the process of then finding the exact location of the leak a bit tedious and cryptic with FastMM4, so I switch to MemCheck to locate the problem. ...
    (borland.public.delphi.non-technical)
  • Can FastMM4 help here
    ... And although we have found several leaks thanks to FastMM4, ... MIDWARE version, we have a problem we did not have in the MIDWARE version. ... application does not show any memory leaks. ...
    (borland.public.delphi.language.basm)
  • Re: memory leak?
    ... It depends on what you mean by "near the exit of the program". ... The C debug runtime does ... its check for memory leaks before static destructors are called, and I'm not sure where it ...
    (microsoft.public.vc.mfc)
  • Re: FastMM4 and DLLs
    ... I want to use FastMM4 to help me find memory leaks ... in a D6 compiled DLL used by a Fortran program, ... I cannot find leaks in a DLL using FastMM4? ...
    (borland.public.delphi.language.basm)
  • Re: EXE terminates automatically.
    ... Memory leaks: I am guessing here. ... Unhandled exceptions, someone calling exit() in a subroutine, etc. ...
    (microsoft.public.vc.mfc)

Loading