如果我打开IIS管理器(在WindowsServer 2008r2上),并转到工作进程页面,我可以看到我的一个AppPool进程报告
Private Bytes (KB) 106,435.00 Virtual Bytes (KB) 748,788.00
但是,如果我查看任务管理器,关联的w3wp.exe进程报告69,276K.
谁能向我解释这些数字是如何相互关联的?
谢谢
http://technet.microsoft.com/en-us/library/cc771273%28WS.10%29.aspx
任务管理器中显示的内存是进程使用的物理内存量,无法与其他进程共享.
以下内容应该有助于解释虚拟地址空间:
http://msdn.microsoft.com/en-us/library/aa366912%28v=vs.85%29.aspx
TechNet和MSDN中的定义:
Private Bytes (KB). The current size
of memory committed to a worker
process,which cannot be shared with
other processes. This corresponds to
Virtual Memory Size in Windows Task
Manager.Virtual Bytes (KB). The current size
of the virtual address space for a
worker process. This does not
correspond to anything in Windows Task
Manager.Virtual Address Space: A virtual address does not represent the actual physical location of an object in memory; instead,the system maintains a page table for each process,which is an internal data structure used to translate virtual addresses into their corresponding physical addresses. Each time a thread references an address,the system translates the virtual address to a physical address.