我如何能确定我的.NET程序正在使用多少内存?我的、内存、程序、NET

由网友(嫣児り)分享简介:这似乎是常说的任务管理器不提供多少内存在使用中通过流程的准确指示。It seems to be often said that Task Manager does not provide an accurate indication of how much memory is in use by a process....

这似乎是常说的任务管理器不提供多少内存在使用中通过流程的准确指示。

It seems to be often said that Task Manager does not provide an accurate indication of how much memory is in use by a process.

如果这是事实确实如此,有什么发现这些东西最简单的方法?

If this is indeed the case, what's the easiest way to find these things out?

我想知道:

总内存使用(无论是在RAM或分页或其他) 总内存使用(在一个情况下,该机拥有的可用物理内存的负载这样的事情越来越强行换出希望运行不成问题) 在实际使用的程序总内存(不包括额外的开销GC保持周围) 总内存使用情况完全是用我的程序(不包括共享库/共享内存) 在总共享内存的使用情况。

推荐答案

抢的Process Explorer ,右击 - >属性进程列表中,然后单击.NET选项卡。从下拉框中选择.NET CLR内存,你就会有你的过程中更活的信息比你就知道该怎么做;)

Grab Process Explorer, right-click -> Properties the process in the list, and then click the ".NET" tab. Select ".NET CLR Memory" from the combobox, and you'll have more live info about your process than you'll know what to do with ;)

阅读全文

相关推荐

最新文章