使用Visual Studio在C ++应用程序中查找内存泄漏

使用Visual Studio在C ++应用程序中查找内存泄漏

问题描述:

在Linux中,我一直在使用valgrind来检查应用程序中是否有内存泄漏。在Windows中相当于什么? Visual Studio 2010可以做到这一点吗?

In Linux, I have been using valgrind for checking if there are memory leaks in an application. What is the equivalent in Windows? Can this be done with Visual Studio 2010?

Visual Studio帮助你找到内存泄漏。此链接应该很有帮助。

Visual Studio assists you in finding memory leaks. This link should be helpful.