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.

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

1 Answer 1

up vote 1 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

 
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.