IIS Worker Process using a LOT of memory?

asp.net, iis, memory, worker-process

Solution

I would check the CLR Tuning Section in the document Gulzar mentioned.

As the other posters pointed out, any object that implements `IDispose` should have `Dispose()` called on it when it's finished with, preferably using the `using` construct.

Fire up `perfmon.exe` and add these counters:

- Process\Private Bytes

- .NET CLR Memory# Bytes in all Heaps

- Process\Working Set

- .NET CLR Memory\Large Object Heap size

An increase in Private Bytes while the number of Bytes in all Heaps counter remains the same indicates unmanaged memory consumption.

An increase in both counters indicates managed memory consumption

Problem

I have one website on my server, and my IIS Worker Process is using 4GB RAM consistently. What should I be checking? ``` c:\windows\system32\inetsrv\w3wp.exe ```

Original source