Windows containers App Plan occupies 4Gb of memory by default

Artem Mikulich 61 Reputation points

I have a P1V3 App Plan (for Windows containers) located in Central US. This instance is equipped with 8 Gb of RAM.

However when I check Memory Percentage metric, I see that 40% of the expected capacity are occupied and not available. I want to emphasize that I didn't deploy any container yet.

Could you please explain so much memory is lost?244216-screenshot-9-23-2022-12-08-35-pm.png

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

2 answers

Sort by: Most helpful
  1. brtrach-MSFT 15,356 Reputation points Microsoft Employee

    @Artem Mikulich We understand you have created a new App Service Container App and are interested in why you are seeing ~40% memory usage.

    We wanted to call out that there is a second site, running on the instance. Also, there are overhead tasks as well that run to support your container. Both of these are running whether or not you have deployed an image to your container. If you deploy a second container to the image, it will also receive its own scm and overhead tasks.

    The amount that the scm site and overhead tasks consume will change over time so it will grow and shrink throughout the day. Beyond that, you could see if restarting the App Service relieves some memory pressure.

    I want to reassure you that what you are seeing is largely normal and does not appear to be alarming to me. You are using a PaaS product, which requires additional overhead resources to run some of the automated tasks and features that are not required in a traditional IaaS VM.

    Beyond that, Microsoft does not really dive deep into the App Service Architecture as this is a PaaS service and we try to offer a managed service as much as possible. For more general App Service Architecture information, we'd suggest you check out this document.

    Please let us know if you have further questions or concerns.

    1 person found this answer helpful.

  2. SUNOJ KUMAR YELURU 13,961 Reputation points MVP

    Hi @Artem Mikulich

    Thanks for using Q & A forum.

    I suggest you to check diagnostics tools that come with APP service and check application insights.
    Azure App Service diagnostics



    If this answers your query, do click Accept Answer and Up-Vote for the same. And, if you have any further query do let us know.