报告值和分析值之间的内存使用差异

发布于 2025-01-24 08:53:12 字数 659 浏览 1 评论 0原文

根据Task Manager,我们有一个Windows Service应用程序,目前似乎正在使用3.3GB的RAM。它的内存转储在磁盘上〜3.5GB。事实是,当我使用内存分析仪应用程序(例如Windbg,Jetbrains dotmemory,Red Gate Ants等)分析转储时。它们仅显示了几种MBS的内存使用情况。另外,似乎没有太多的用法或碎片。可能是在拍摄快照时,它就在下一个GC扫描之前就进行了,但是在不同的计算机上还有3个应用程序实例,它们都显示出如此大的RAM使用情况。为什么会有这种差异?我忽略了什么吗?

这是蚂蚁和杂志摘要(逗号是十进制分离器):

“

“

We have a Windows service application which currently seems to be using 3.3GB of RAM according to Task Manager. The memory dump of it is ~3.5GB on disk. The thing is when I analyze the dump with memory analyzer applications such as WinDbg, JetBrains dotMemory, Red Gate ANTS, etc. they all show around only several MBs of memory usage. Also there doesn't seem to be much LOH usage or fragmantation. It could be that when the snapshot was taken it was right before the next GC sweep but there are 3 other instances of the application on different computers and they all show such large RAM usages. Why is there such difference? Am I overlooking something?

Here's the ANTS and dotMemory summaries (comma is decimal separator):

ANTS

dotMemory

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文