Thank for reaching out.
The App Pool for your web API is consuming excessive memory, and Visual Studio dump analysis hasn’t provided enough insight. This can happen due to memory leaks, inefficient caching, or even legitimate high usage under heavy load. To diagnose the root cause, deeper analysis tools are recommended.
- Capture Memory Dumps
Use Debug Diagnostic Tool (DebugDiag) to collect memory dumps when memory usage spikes. Analyze the report for leaks or abnormal allocations.
- Profile Memory Usage
Run PerfView or Windows Performance Monitor to monitor allocation trends and identify which objects or processes consume the most memory.
- Enable IIS Failed Request Tracing
Correlate memory spikes with specific requests or operations to pinpoint problematic endpoints.
- Check Garbage Collection Behavior
Use CLR Profiler or PerfView to verify if GC is working efficiently and detect pinned objects or large object heap growth.
- Review App Pool Recycling Settings
Configure recycling based on private memory limits to prevent uncontrolled growth during investigation.
Reference:
Please let us know if you require any further assistance, we’re happy to help.
If you found this information useful, kindly mark this as "Accept Answer".