内存使用与内存(私有工作集) [英] Memory Usage vs Memory (private working set)

查看:247
本文介绍了内存使用与内存(私有工作集)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在vb.net中获取计算机中正在运行的进程的内存使用量值.

I m trying to get memory usage value in vb.net for the processes running in a machine.

好吧,我看不到内存使用情况"相反,我在Windows 7中看到了内存"(私有工作集).

Well, I dont see "memory usage" col in Windows 7 instead I see Memory (private working set).

除了名称不同外,它们是否相同?

Are they same except the names are different?

推荐答案

要深入了解内存中发生的事情,请执行以下操作:看:

To get a deep dive into what is going on in memory take a look at:

  Windows®内饰,第五版

 <

 <http://www.microsoft.com/learning/en/us/Book.aspx?ID=12069&locale=en-us>

 

工作集是此进程工作集的当前大小(以字节为单位).工作集是进程中的线程最近接触的一组内存页面.如果计算机中有可用内存 超过阈值时,即使不使用页面,也将它们留在流程的工作集中.当可用内存低于阈值时,将从工作集"中修剪页面.如果需要它们,它们将被软故障恢复到工作集中 在离开主内存之前.

Working Set is the current size, in bytes, of the Working Set of this process. The Working Set is the set of memory pages touched recently by the threads in the process. If free memory in the computer is above a threshold, pages are left in the Working Set of a process even if they are not in use.  When free memory falls below a threshold, pages are trimmed from Working Sets. If they are needed they will then be soft-faulted back into the Working Set before leaving main memory.

 

工作集-专用显示工作集的大小(以字节为单位),该大小仅用于此过程,并且不共享或共享其他过程.

Working Set - Private displays the size of the working set, in bytes, that is use for this process only and not shared nor sharable by other processes.

 

Bruce


这篇关于内存使用与内存(私有工作集)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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