问题描述
我被分配到检查内存泄漏了我的老板的API。
该应用程序是在C和创造的; C ++。因此,有该内存使用malloc&放分配的可能性;新。
我想检查调试模式下在Visual Studio 2010中的内存泄漏的64位Windows 7。
用任务管理器的问题是,它没有显示稳定的读数(内存增加和放大器;通过少量减少)。也差小之前&放大器;后该API运行。所以我不能说defitely的内存X数量每个周期泄漏。
I have been assigned to check memory leak for an API by my boss.The Application is created in C & C++. So there is a possibility that memory is allocated using malloc & new.I want to check the memory leak in Visual Studio 2010 in debugger mode in 64 bit Windows 7.The problem with task manager is that it is not showing stable readings (memory increasing & decreasing by small amounts). Also the difference is small before & after the API is run. So i cannot defitely say that x amount of memory is leaking per cycle.
我在网上搜索与放大器上;发现Linux有一个很好的工具。不过,我想为我的要求(Windows 7)中的可靠工具。我所遇到的这些:
I have searched on the internet & found that linux has a great tool for this. However I want a reliable tool for my requirements (Windows 7). I have come across these:
,因为它已经使我受益匪浅几次。你也可以尝试使用Valgrind的窗户(虽然我对这样做收效不大)。还帮过我几次。
I suggest using visual leak detector as it have served me well several times. You may also try to use valgrind for windows (although I had little success on doing that).Dr. Memory also helped me a few times.
编辑:也看看here.
这篇关于免费应用程序来检查内存泄漏的Windows x64?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!