开发者

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

开发者 https://www.devze.com 2022-12-11 18:37 出处:网络
I am verifying an application coded in c++ with memory leak and need a utility (freeware) I can easily run to detect where i开发者_如何学JAVAt is ocurring. any ideas?On the following platforms,

I am verifying an application coded in c++ with memory leak and need a utility (freeware) I can easily run to detect where i开发者_如何学JAVAt is ocurring. any ideas?


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 :)


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

0

精彩评论

暂无评论...
验证码 换一张
取 消