AVG working memory set increasing over time for app service

Modris 1 Reputation point
2022-12-22T14:41:00.313+00:00

Hi!

I have restAPI app running in test and prod environments and working memory is increasing over time. This makes me to restart app every two month because it is getting slow with higher memory consumption.

At first I thought there are problems with garbage collection, but the same code in both environments and Prod going up, but Test is flat.
And in Test environment I did requests with 10 times much heavier load.

What could be the reason besides garbage collection?273324-avg-memory.png

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,874 questions
{count} votes

1 answer

Sort by: Most helpful
  1. SnehaAgrawal-MSFT 22,701 Reputation points Moderator
    2023-04-04T14:24:52.2166667+00:00

    Thanks for reaching here! There could be many reasons for this, would suggest you to use the built in Diagnose and Solve blade of your web app, which has the same troubleshooting tools a support engineer would use to assist you.

    Recommended steps for troubleshooting High memory issue:

    Diagnosing Memory issue in Azure App Service : Part 1 : Identifying the Bad App

    Diagnosing Memory issue in Azure App Service : Part 2 : Debugging Memory

    This should help tell you if there are any issues with your site that might be impacting performance.

    Please let us know if further query or issue remains.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.