应用程序变得非常慢. [英] Application is getting very slow.

查看:125
本文介绍了应用程序变得非常慢.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我运行我的应用程序时,我的系统变得非常非常慢.我该怎么办?您有任何想法请与我分享.

While I am running my application, my system is getting very very slow. What I have to do for that? Do you have any idea please share with me.

推荐答案

如果您在计算上没有做任何昂贵的事情,则您的程序中有内存泄漏.
检查任务管理器并找到您的程序,并查看其正在使用多少内存.
If you are not doing anything computationally expensive, then you have a memory leak in your program.

Check the task manager and find your program and see how much memory it is using.


基于Mehdi解决方案构建.

如果您确实确实存在内存泄漏,请在 Visual Leak Detector-Visual C ++的增强型内存泄漏检测中查看 a> [ ^ ]如何解决.
Building on Mehdi solution.

If you indeed have a memory leak have a look at this on Visual Leak Detector - Enhanced Memory Leak Detection for Visual C++[^] how to solve it.




尝试ro check还可以循环和循环进行循环,如果存在无限循环,它将消耗所有CPU并使系统速度变慢.
Hi,

Try ro check also loops and looping conidtions, if there is an infinite loop it will consume all the CPU and make your system slow down.


这篇关于应用程序变得非常慢.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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