windows WMIprvse 进程泄漏 2008 服务器 R2 上的内存
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/2732338/
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
WMIprvse process leaks memory on 2008 server R2
提问by Dani Fischer
I have a Windows 2008 R2 server running on a VM machine. My .NET service is running on this server periodically querying WMI, for example:
我有一台在 VM 机器上运行的 Windows 2008 R2 服务器。我的 .NET 服务在此服务器上运行,定期查询 WMI,例如:
SELECT ProcessId FROM Win32_Service WHERE ...
SELECT ProcessId FROM Win32_Service WHERE ...
After a day or two WMIprvse takes up to 500M memory and WMI queries start getting out of memory exceptions.
一两天后,WMIprvse 最多占用 500M 内存,WMI 查询开始出现内存不足异常。
This article seems to be talking about this issue: "http://support.microsoft.com/kb/958124"
这篇文章似乎在谈论这个问题:“ http://support.microsoft.com/kb/958124”
I've seen other articles saying that Microsoft is aware of the problem and not going to issue a fix until the next major release. http://social.msdn.microsoft.com/Forums/en/netfxbcl/thread/256eb40c-d050-4278-a3d8-863e30db02a0
我看到其他文章说 Microsoft 已经意识到这个问题,并且不会在下一个主要版本发布之前发布修复程序。 http://social.msdn.microsoft.com/Forums/en/netfxbcl/thread/256eb40c-d050-4278-a3d8-863e30db02a0
I'd appreciate any suggestions and insights on this.
我很感激对此的任何建议和见解。
回答by Matt Duguid
Check out both the following KB articles,
查看以下两篇知识库文章,
KB981314 - The "Win32_Service" WMI class leaks memory in Windows Server 2008 R2 and in Windows 7 - http://support.microsoft.com/kb/981314/en-us?p=1
KB977357 - A memory leak issue occurs in the Windows Management
Instrumentation service on a computer that is running Windows Server 2008 R2 or Windows 7 - http://support.microsoft.com/kb/977357
KB981314 - “Win32_Service”WMI 类在 Windows Server 2008 R2 和 Windows 7 中泄漏内存 - http://support.microsoft.com/kb/981314/en-us?p=1
KB977357 -
运行 Windows Server 2008 R2 或 Windows 7 的计算机上的 Windows Management Instrumentation 服务中出现内存泄漏问题- http://support.microsoft.com/kb/977357
...but also worth noting we are on Windows 2008 R2 with SP1 (file versions higher than those provided by both hotfixes) and we are still seeing some slow memory leak issues possibly from either WMIAPSRV.exe and/or TRUSTEDINSTALLER.exe.
...但同样值得注意的是,我们使用的是带有 SP1 的 Windows 2008 R2(文件版本高于两个修补程序提供的文件版本),我们仍然看到一些可能来自 WMIAPSRV.exe 和/或 TRUSTEDINSTALLER.exe 的缓慢内存泄漏问题。
We are going to open a support call, if we find anything relevant will post the answer.
我们将拨打支持电话,如果我们发现任何相关内容,我们将发布答案。