Hi @ReCloudS
In addition to @Marcin Policht response, and after addressing your concern.
You are correct, under a P2V3 configuration (16GB RAM per instance, 3 instances equaling 48GB), memory shortages shouldn't normally occur. However, even if one app might consume up to 9GB while the rest consume considerably less, there is still room for instance-level bottlenecks if memory usage isn’t evenly distributed.
Isolate the High-Usage App, transfer it to a different App Service Plan to prevent affecting other apps. Create additional instances (e.g., scale from 3 to 4 or 5) to better distribute memory load. Use Application Insights to look into memory usage and fix leaks or inefficiencies. Use Azure Monitor's Memory Working Set metric or Kudu's Process Explorer to monitor per-app memory usage.
Regarding Cost Explanation Yes, cost is an instance basis, if one instance costs $1000/month, three instances equal $3000, plus data transfer charges, as applicable.
https://azure.microsoft.com/en-us/pricing/details/app-service/linux/
https://learn.microsoft.com/en-us/azure/app-service/monitor-app-service
https://learn.microsoft.com/en-us/azure/app-service/troubleshoot-diagnostic-logs
If the answer is helpful, please click Accept Answer and kindly upvote it so that other people who faces similar issue may get benefitted from it.
Let me know if you have any further Queries.