<p>I've got an ASP.NET application running and on the production box it's using about 450MB RAM, however, it shouldn't be using quite so much, and it seems to increase over time, so it seems there might be a leak or atleast something not being released properly. </p>

<p>I took a look with PerfMon and there was 416MB in GC Gen2. </p>

<p>Anyone have any idea for finding out what it's keeping in memory? Could I just grab dotTrace/ANTS and somehow attach it to my IIS (6 - on windows server 2003) - or is there a better way? :-)</p>

<p>Thanks.</p>

Although this is a specific blog about a technology you're probably not using it does cover how to diagnose memory issues -
http://blogs.msdn.com/tess/archive/2008/09/12/asp-net-memory-issues-high-memory-usage-with-ajaxpro.aspx
Dig through Tess's work, she's got a lot of debugging/ diagnosis posts and I'm sure  you can find more which are of use to you.