问题标签 [vmmap]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
memory-management - Win10 中保留的私有数据比 Win7 更大
我在 Windows 10 和 Windows 7(均为 64 位)上运行相同的应用程序,并使用 Process Explorer 来监控虚拟大小。我注意到在 Windows 10 上运行的应用程序的虚拟大小比在 Windows 7 上运行的要大得多。
通过使用 VMMap,在私有数据中:
Windows 10 - 4.2GB 的 1 个地址被保留,未提交。
具有 15MB 的 Windows 7 - 2 地址被保留且未提交。
所以我的问题是:
- 为什么有一大块内存被预留了?只是Win10和Win7做的内存管理不同吗?
- 或者,与我运行的应用程序有关?(应用程序在Win10&Win7上运行没有问题)
- 是否有任何合适的指标来跟踪内存泄漏?(例如:VMMap 中的“承诺”值)这似乎有很多讨论/争论:P