Calculate private working set (memory) using C#.
Posted
by Gnucom
on Stack Overflow
See other posts from Stack Overflow
or by Gnucom
Published on 2010-04-09T21:42:57Z
Indexed on
2010/04/09
21:53 UTC
Read the original article
Hit count: 519
Hello,
How do I calculate the private working set of memory using C#? I'm interested in produces roughly the same figure as taskmgr.exe.
I'm using the Process namespace and using methods/data like WorkingSet64 and PrivateMemorySize64, but these figures are off by 100MB or more at times.
Thanks,
© Stack Overflow or respective owner