开发者

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜