W
Water Cooler v2
I have a .NET 2.0 Web service running on IIS 5.1. I need to get the
memory foot print of the Web service.
I was thinking along the lines of doing either:
a) GC.GetTotalMemory(); or
b) System.Diagnostics.Process.GetCurrentProcess.VirtualMemorySize();
but I know none of these are accurate as both (a) and (b) might return
the size of the IIS process memory.
Is there a way to get the size of the memory occupied just by the Web
service?
memory foot print of the Web service.
I was thinking along the lines of doing either:
a) GC.GetTotalMemory(); or
b) System.Diagnostics.Process.GetCurrentProcess.VirtualMemorySize();
but I know none of these are accurate as both (a) and (b) might return
the size of the IIS process memory.
Is there a way to get the size of the memory occupied just by the Web
service?