可用页面文件大小/虚拟内存 [英] Available pagefile size / virtual memory

查看:98
本文介绍了可用页面文件大小/虚拟内存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Process.PagedMemorySize64PagedSystemMemorySize64有什么区别?我不清楚这一点. 另外,我正在寻找一种方法来找出仍有多少分页文件可用.我是否必须遍历所有进程并总结每个进程的PagedMemorySize64并将其从页面文件的总大小中减去?

What is the difference between Process.PagedMemorySize64 and PagedSystemMemorySize64 . I could not understand this clearly. Also , I am looking for a way to find out how much of the paging file is still availalbe. Do I have to loop through all the processes and sum up the PagedMemorySize64 for each one and subtract this from the total size of paging file ?

推荐答案

PagedSystemMemorySize64是页面内存池中归因于进程的操作系统内核内存的总字节数.它与Taskmgr.exe中的页面缓冲池"列相对应.

PagedSystemMemorySize64 is the total number bytes of operating system kernel memory in the paged memory pool attributed to the process. It corresponds with the "Paged Pool" column in Taskmgr.exe.

PagedMemorySize64是为该进程分配的用户模式虚拟内存的字节总数.它与Taskmgr.exe中的提交大小"列相对应.

PagedMemorySize64 is the total number of bytes of user mode virtual memory allocated for the process. It corresponds with the "Commit Size" column in Taskmgr.exe.

请注意,进程在这些部分中共享内存,所有进程的分配总和远大于实际使用的内存量.此外,您还无法合理地计算页面文件中未使用"的空间量,Windows会根据正在运行的进程要求动态地对其进行扩展和收缩.

Note that processes share memory in these sections, the sum of the allocations of all processes is much greater than the actual amount of memory used. You furthermore cannot reasonably calculate the amount of "unused" space in the paging file, Windows dynamically expands and shrinks it based on what running processes require.

这篇关于可用页面文件大小/虚拟内存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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