Jlouro
Jlouro

Reputation: 4545

Simple code analyzer

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.

Upvotes: 3

Views: 651

Answers (4)

Catharz
Catharz

Reputation: 1165

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

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

Upvotes: 1

Uwe Raabe
Uwe Raabe

Reputation: 47694

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

Upvotes: 4

Tim Jarvis
Tim Jarvis

Reputation: 18815

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.

Upvotes: 1

Craig Stuntz
Craig Stuntz

Reputation: 126547

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.

Upvotes: 13

Related Questions