Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

You can use the IIS Debug Diagnostics tool: http://www.microsoft.com/download/en/details.aspx?DisplayLang=en&id=24370

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

 
discard

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.