Issues with App Service Plan: Memory Usage 100%

Adrien Michaud 21 Reputation points
2022-02-01T10:08:30.27+00:00

Hello,

I'm facing some troubles with my App Service Plan that ramps up to 100% memory usage and reboot frequently.
I've seen error messages related such as not enough swap or memory exceeds.

This problem is new since the 25th of January. The application have not been updated since december so I don't think my application have any problems.

170144-image.png

It seems to be a problem on Azure side, can I have any help ?

Thanks for your help,
Adrien

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,984 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jeremy Brooks 572 Reputation points Microsoft Employee
    2022-02-02T02:43:45.02+00:00

    Navigate to your app service - > Diagnose and Solve Problems - > there should be a detector for memory consumption. From there you can better isolate the process consuming the memory if not multiple processes.

    Once isolated depending on the type of application you'll like want to try and get some sort of memory dump to review the memory consumption.

    https://techcommunity.microsoft.com/t5/apps-on-azure-blog/collect-memory-dump-for-app-service-windows-only/ba-p/2777486

    Once the dump is captured if it's a version of .net you can run some basic analysis using debug diagnostic, visual studio, or Windbg depending on your skill set. If the dump is captured using the tooling under diagnose and solve problems the automated report from debug diagnostic is automatically generated.