Reputation: 170
Is there any way not monitor memory usage per session on IIS? I've seen how to perform some analysis per site and/or per app pool, but not per session. The IIS crashed with an OutOfMemoryException and we need to find which users were consuming the most memory so we can check the activity logs of those users and and find what caused the high memory usage.
Preferably not using any paid tools, and also bonus points if it works both with IIS6 and IIS10 but that's just a plus.
Thank you in advance!
Upvotes: 1
Views: 5900
Reputation: 12749
In my opinion, there is no tool to check memory usage per session on IIS. ASP .NET applications will throw a System.OutOfMemoryException error if they cannot allocate physical memory or reserve sufficient virtual memory to meet an allocation request. By default, the addressable virtual memory space that is available is 2 GB. If this is used, the operating system can't allocate additional memory.
Another cause of the issue is if other processes on the server are using most of the ram.
You could try below troubleshooting steps:
please refer below link for more detail:
How to Troubleshoot Out of Memory Issues (System.OutOfMemoryException) in ASP.NET
Troubleshooting System.OutOfMemoryExceptions in ASP.NET
Upvotes: 2