Out Of Memory error at new deploy

Tomasz Kosek 21 Reputation points
2022-09-02T08:49:37.613+00:00

Hello. We have Azure Plan v3 premium. Application doesnt take all of resources of ram or space. When we want to deploy the new version of our App we've got an error -> Out of Memory. Where can we find more specific loggs ? At deploy on our dev server we dont have errors. After some tries deploy will done successful.

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

1 answer

Sort by: Most helpful
  1. ajkuma 22,401 Reputation points Microsoft Employee
    2022-09-05T18:55:34.133+00:00

    @Tomasz Kosek , Apologies for the delayed response from over the weekend.

    Just to clarify and to isolate the issue, is this issue happening all of a sudden or is it happening from the beginning? How frequently does this issue occur?
    How are you performing the deployment (method)? What is the application framework?

    I understand after some tries, deployment is successful. Just to highlight, on Premium App Service Plan (ASP) tier, apps in the same ASP, share the same compute resources.
    In a nutshell, the ASP is the scale unit of the App Service Apps. If the plan is configured to run 4 VM instances, then all apps in the plan run on all 4 instances.

    --If the plan is configured for autoscaling, then all apps in the plan are scaled out together based on the autoscale settings.

    To narrow down the issue:

    1.Review the logs, enable diagnostic logging and add instrumentation to your application, checkout the steps outlined in the doc
    troubleshoot-diagnostic-logs

    --Navigate through Kudu site on: https://<sitename>.scm.azurewebsites.net/api/logs/

    2.You may leverage App Service diagnostics from Azure Portal> Navigate to your App Service app in the Azure Portal. (screenshot below)

    -- In the left navigation, click on Diagnose and solve problems - Review - “Configuration and Management, “Availability and Performance”, and collect/review dump files.

    App Service Diag!