Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an IIS7 website which is live right now. If I watch memory usage in the remote server its usually about 300-400mb however sometimes randomly it goes up to 10gb within 5-10 seconds. I have tried to replicate this error in my localhost by sending the same requests from the server iislog in an even shorter time period, but I can't replicate it. I've checked my code for not disposed objects etc. and my code seems safe.

I've tried serving this website on IIS6, fw2 and result was always the same. I've installed .NET Memory Profiler on the server and took a snapshot while this leak was happening, and it lists a huge amount of memory in the unreferenced objects part. How can I see the cause?

share|improve this question
where are the ms gurus : ) – Cenk Erdem Nov 8 '11 at 22:35

You can use the IIS Debug Diagnostics tool:

Also, within IIS you may want to look over the properties for your application pools. Specifically, try modifying your Recycling intervals or manually recycling.

Do you have increased memory when users try to upload?

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.