监视 Windows 内存映射文件

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/1563943/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 13:17:16  来源:igfitidea点击:

Monitoring Windows Memory Mapped Files

windowsmemory-managementmemory-mapped-files

提问by Bing Jian

In Windows, how can I keep track of the file mapping objects created by CreateFileMapping()? Basically I want to know how many memory mapped files are in use and the information like their names, sizes, etc. Thanks!

在 Windows 中,如何跟踪由 CreateFileMapping() 创建的文件映射对象?基本上我想知道有多少内存映射文件正在使用以及它们的名称、大小等信息。谢谢!

回答by Jim Lamb

SysInternals Process Explorer will what memory mapped files each running process has open: http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx

SysInternals Process Explorer 将打开每个正在运行的进程打开的内存映射文件:http: //technet.microsoft.com/en-us/sysinternals/bb896653.aspx