nanay
nanay

Reputation: 31

Is there a freeware utility out there to monitor a c++ application for memory leaks?

I am verifying an application coded in c++ with memory leak and need a utility (freeware) I can easily run to detect where it is ocurring. any ideas?

Upvotes: 3

Views: 255

Answers (2)

Kirill V. Lyadvinsky
Kirill V. Lyadvinsky

Reputation: 99685

The answer depends on OS you are using. On Windows there is a very good free tool — the user-mode dump heap (UMDH) utility.

Upvotes: 2

Jacob
Jacob

Reputation: 34621

On the following platforms,

x86/Linux: support is mature and almost complete.
AMD64/Linux: support is mature and almost complete.
PPC32/Linux: support is new but fairly complete.
PPC64/Linux: support is new but fairly complete.
x86/Darwin (Mac OS X): support is new.
AMD64/Darwin (Mac OS X): not officially supported, but probably works.

I'd recommend Valgrind

If you're using Visual Studio, this link has some info.

If you're using Windows, and not Visual Studio, then this SO page has a lot of suggestions - and then this question should be closed :)

Upvotes: 6

Related Questions