I have made a Windows Phone App and am facing memory issues. App closes because of it is using too much memory.
I tried finding ways to figure out, how much memory is being used, which variables are consuming most memory, etc. I did Memory Profiling, and found that when using the app vigorously for 2 minutes it consumes > 150 MB and therefore closes.
However I am not able to know which variable is consuming memory. Or if its images that are consuming memory. I have an appviewmodel variable and my guess is that might be too large but I want to confirm this. How can i find out how much memory this variable is using?