MFC应用程序中的内存泄漏...... [英] Memory leakage in MFC application...

查看:102
本文介绍了MFC应用程序中的内存泄漏......的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的,



我使用visual studio 2010 MFC创建默认的选项卡式MDI应用程序。我运行应用程序并启动任务管理器。如果我打开任何文件它需要内存(CPU使用率),但关闭该文件后,内存不会减少。但在SDK中我没有遇到这个问题。请帮我避免这个。



谢谢,

Suji

解决方案

您可以尝试使用文档:MFC中的内存泄漏检测 [ ^ ]。无论如何,看看这个 Stack Overflow 问题:Windows任务管理器确定程序的内存使用情况有多可靠? [ ^ ]。

Dear all,

I have create default the tabbed MDI application using visual studio 2010 MFC based.I run the application and start the task manager.If i open any file It takes memory(CPU usage) but after close that file ,Memory will not reduce.but in SDK i didn't face this issue.Please help me to avoid this.

Thanks,
Suji

解决方案

You might try with the documentation: "Memory Leak Detection in MFC"[^]. In any case, have a look at this Stack Overflow question: "How reliable is windows task manager for determining memory usage of programs?"[^].


这篇关于MFC应用程序中的内存泄漏......的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆