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?

link|improve this question

feedback

1 Answer

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.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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