I am dealing with a legacy .NET app that has a memory leak. In order to try and mitigate a run away memory situation, I've set the app pool memory limits from anywhere between 500KB to 500000KB (500MB) however the app pool doesn't seem to respect the settings as I can login and view the physical memory for it (5GB and above no matter what values). This app is killing the server and I can't seem to determine how to adjust the app pool. What settings do you recommend in order to ensure this app pool doesn't exceed around 500mb of memory.
Here is an example, the app pool is using 3.5GB of
So, the server just crashed again, and here is why:
The same app pool with low memory limits, a 1000 recycle request which cause a recycle event every two or three minutes but sometimes it just runs away.
I am also open to any tool that can monitor this process (either run every 30 seconds as a task or service) and can kill it when it exceeds some limit.