Hey @CS
So, the best way to think about an app service plan is that it is the computer. for your applications in the cloud So the 16GB of ram that is associated with the P1mv3 will be shared amongst your eight applications.
In order to determine what's causing your out of memory exception, you really have to capture the diagnostics from your app service plan. Capture memory dumps on the Azure App Service platform - Azure | Microsoft Learn can guide you through capturing memory dumps of the app service, but here some general steps to help narrow things down.
- Use Azure Application Insights to monitor memory usage. Look for patterns in memory consumption, such as a steady increase over time, which might indicate a memory leak.
- Use the Diagnose and solve problems tool to capture memory dumps. This can help you analyze the memory usage of your application at the time of the exception.
- Leverage tools like PerfView to analyze memory dumps. Look for objects that are consuming a large amount of memory and investigate why they are not being released.