How precise is Task Manager?

前端 未结 3 2091
天涯浪人
天涯浪人 2020-12-07 04:36

I have a C++ Application, when I observe Task Manager, it shows that applicaiton\'s memory usage increases gradually.

I manually check my source code, and I used Vis

相关标签:
3条回答
  • 2020-12-07 04:48

    I use Process Explorer as replacement for Task Manager. It shows history graphs for CPU/mem usage

    0 讨论(0)
  • 2020-12-07 04:54

    I use Extended Task manager http://www.warecase.com/products.asp

    This is useful for debugging purpose especially to check if a thread exists or not and other such cases. It can provide lots of information if you have pdb for your process or application.

    Probably you can use DevPartner for identifying memory leaks. It is very useful.

    0 讨论(0)
  • 2020-12-07 05:05

    It isn't. It has several options for memory statistics (use View + Columns) and the version matters but the default view shows the working set. How much of the virtual memory your program uses is actually in RAM. That's a statistical number that can change very quickly. Just minimize the main window of your app for example.

    The VM size it can show isn't great either. That number includes free heap blocks. Getting actual memory in use is very tricky, read the small print in the SDK article for HeapWalk.

    It is useless for leak detection, unless you leak gobs of it.

    0 讨论(0)
提交回复
热议问题