Swisher Sweet
Swisher Sweet

Reputation: 789

High App Pool Memory Usage Causes ASP.net Site To Have Slow Response Time

We have an ASP.net MVC web application that uses a lot of memory (4GB) after it has run a few days. The server we are running it on has plenty of power to spare (CPU running about 10% and 7% memory usage), but for some reason, as the memory in the App Pool increases, the response time of the site lowers.

Even pages that are cached are taking a very long time to load. These cached pages should be served up from memory, which should be instant. We cache a lot of pages and a lot of database calls, so it doesn't surprise me that the App Pool is that big, but it doesn't make any sense to me that the more we cache, the longer it takes for the site to respond.

If I recycle the App Pool, the site is super fast again. We are using Windows 2012, IIS 8, and SQL 2012.

Does anyone have any ideas why this might be happening?

Thanks so much!

Upvotes: 0

Views: 1916

Answers (1)

Ryan McDonough
Ryan McDonough

Reputation: 10012

This is a pretty broad question but I would suggest installing something like New Relic on the server to try and find bottlenecks or code that is causing memory leakage.

It will give you a report of intensive functions.

You can get a pretty decent understanding of what is going wrong during the free premium trial (no card or anything needed).

Upvotes: 1

Related Questions