views:

249

answers:

4

Need a simple code analyzer to see if I am forgetting to free objects and classes, or to see if I am releasing them to many times.

+12  A: 

This is built into Delphi's memory manager (FastMM). Set ReportMemoryLeaksOnShutdown true. You can also use the "full debug" version of the memory manager for more detailed checks and information.

Craig Stuntz
+1  A: 

AQTime from Automated QA is pretty much the defacto standard tool in the Delphi World for profiling for memory leaks (and perf of course)

Another option is a static analysys tool, the only one I know of that supports Delphi is Understand from SciTools it's pretty expensive though.

Tim Jarvis
+4  A: 

The Pascal Analyzer from Peganza does a static analysis of your code.

Uwe Raabe
+1  A: 

Simplest tool I've ever used for memory leak checking is MemCheck.

http://v.mahon.free.fr/pro/freeware/memcheck/

Catharz