如何解决内存泄漏问题? [英] How to resolve memory leak issue?
本文介绍了如何解决内存泄漏问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好朋友,
我的代码有关于内存泄漏的问题。每当我执行exe时,任务管理器中此exe的内存都会增加。有人建议我如何找出这个内存泄漏或任何工具。目前我正在使用Win-XP的Visual Studio 2005。代码更多。所以我没有显示代码。
请帮我解决这个问题。
谢谢
Vaibhav Jaiswal
解决方案
文档怎么样:使用CRT库查找内存泄漏 [ ^ ]?
试试这个解决方案:
Visual C ++ 2008/2010/2012的Visual Leak Detector [ ^ ]
微软用于内存泄漏检测的内置工具也很有用:
内存泄漏检测启用 [ ^ ]
hello friends,
I have some problem with my code regarding to memory leak. Whenever I execute the exe, memory of this exe in task manager is increased. Anybody suggest me how to find out this memory leak or any tool for this. Currently I am using Visual Studio 2005 with Win-XP. The code is much more. So i am not showing the code.
Please help me to resolve this.
Thanks
Vaibhav Jaiswal
解决方案
What about the documentation: "Finding Memory Leaks Using the CRT Library"[^]?
Try this solution:
Visual Leak Detector for Visual C++ 2008/2010/2012[^]
Also Microsoft''s built-in tools for memory leaks detection could be useful:
Memory Leak Detection Enabling[^]
这篇关于如何解决内存泄漏问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文