内存消耗快速增加,然后下降非常缓慢;内存泄漏? [英] Memory consumption increases quickly, then drops very slowly; memory leak?

查看:196
本文介绍了内存消耗快速增加,然后下降非常缓慢;内存泄漏?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

运行我的程序时遇到这个问题:




  • 当我的程序的某个功能正在运行时,

  • 我使用性能监视器和虚拟泄漏检测,两者都没有泄漏。

  • 功能结束后(程序未退出)

  • 因此,当内存消耗变高时,我的程序驱动的硬件(电机)响应非常缓慢。



    我很困惑。这是一个内存泄漏吗?



    我知道这可能很难确定问题在哪里,但是有什么共同的逻辑如何我应该看看这个问题?还是任何常用的工具?像检查进气泄漏/系统倾斜在汽车上通常会开始与管,质量空气流量传感器或O2传感器.....



    非常感谢!

    解决方案

    Memory Profiler适用于我:



    Memory Profiler试用版下载



    这是试用版,我喜欢它。


    I have this problem when running my program:

    • The memory consumption increases pretty quickly when one of the functionalities of my program is running.
    • I use Performance Monitor and Virtual Leak Detection, both say no leak.
    • After the functionality is ended (program not exiting), the memory will slowly drops to normal level.
    • Program is basically C#, WPF, C++;

    So when the memory consumption gets high, the hardware (motor), which my program drives, responses pretty sluggishly.

    I am very confused. Is this a memory leak?

    I know it is probably hard to determine where the problem is, but is there any common logic how I should get in look at this problem? Or any commonly used tools? Like checking for intake leak/system lean on a car would be normally starting with tubes, mass air flow sensors, or O2 sensors.....

    Thanks a lot!

    解决方案

    Memory Profiler works for me:

    Memory Profiler trial version download

    This the trial version, and I like it.

    这篇关于内存消耗快速增加,然后下降非常缓慢;内存泄漏?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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