Reputation: 13
The IIS http log tells me the time taken, so it's easy to identify long-running requests. But how can I identify the memory consumption of each request thread?
From within the process code I can easily get the size of the workingset for the entire process, but not of a request thread itself.
IIS 6 + Framework 3.5
Nick
Upvotes: 0
Views: 127
Reputation: 31468
I'm not sure that I'm reading you correctly but the threads are reused so there's no such thing as one thread per request. There's still hope, for instance you could set up a performance monitor log. Tess Ferrandez has quite a few articles on .NET memory debugging.
Or if you really want to dive in:
Upvotes: 0
Reputation: 532765
You could use a memory profiler such as the ANTS Memory Profiler from RedGate (14-free trial).
Upvotes: 1