C# memory leak?

半腔热情 提交于 2019-12-05 06:45:14

Gagan, if you're still having this issue, can you download SysInternals' Process Monitor? You can find it here. Run it, and add columns for memory private bytes, working set, and virtual size. Peak private bytes and working set wouldn't hurt, either, and there are other memory columns you can add for fun : )

Task Manager doesn't give you the virtual size (Windows 7 lets you add Commit Size, don't know if Server 2008 also has that). This should give you a clearer picture of where the memory is going.

Let us know if that helps or you need further help pinning down where your memory is going!

I'm not entirely sure on this, as it's not clear in your question where you're seeing the different RAM usage amounts (VMWare guest or host).

When running VMWare Server on Server 2008, the memory usage reported by Task Manager on the host does not take into account the Virtual Machines individual usages. I noticed this a while ago, and am not sure if it's a bug/known issue/by design behaviour.

Example: I have 3 VMs running on my Server 2008 machine, each running a different variant of Windows, with applications running. Nothing is running on the host, other than the Virtual Machines at the moment. Task manager on the host reports ~2GB RAM used, whereas the guests are using at least 1GB each.

Can you clarify exactly where your RAM usage numbers are coming from?

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!