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

Is there a way to limit the size in memory that w3wp (IIS) can get to?

I am running windows 7 x64 with IIS. As I debug my web app, the memory taken up by IIS goes up to 4GB.

Is there a way to limit this effectively?

share|improve this question
up vote 2 down vote accepted

You can set the application pool for the web app to recycle when it reaches a certain memory size. Check out the help file for IIS manager to decide whether you need to set it for Virtual or Private memory. You'll most likely want to set the Private Memory setting (typically used for memory leaks) - the recommendation in the help is 60% of your systems physical memory.

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.