From abhay dhar@21:1/5 to All on Mon Jun 13 07:03:55 2022
Hi Team
I am facing a possible un-managed memory leak problem in Prod Azure appservice Infra.
What we are trying to diagnose is - Why does the private memory consumption on prod appservice continue to creep up every day and it goes up to over 5+GB for a P2V2 appservice plan(7GB RAM)?
The codebase deployed on Prod and UAT is same and both have the same specs. The only difference is the actual real world traffic to UAT is not that much compared to prod
For diagnosing the problem.
1- I had captured few memory dumps and found few code issues , which I fixed and further analysis of the dumps did not show any areas in the flame graphs
2- I have captured 2 dumps @3GB and 5GB . I was hoping to do a side-by-side comparion of the dumps to see if its possible to see what changed between these two
3- Involving MS support has not helped as they are unable to provide any tangible areas to diagnose
4- When the dumps were captured, MS said that " the committed memory in the dmp file is shown as 2GB , but the private memory consumed was 4G+". The dumps were captured using the Azure portal -> Diagnostic tools option