Memory usage of Web service

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?
 
W

wdudek

Would perfmon be able to give you this information? At a very least you
should be able to take the spike in memory usage that occurs when the service
is called and compare it to the usage before and after.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top