I am trying to figure out real consumption of my app for that I created sample app to observe things. But I am not able to understand the results from xamarin profiler.
below screenshot shows that memory allocated 1,5mb but when I click only live objects, it shows 510kb. What is the difference? Does it mean app is only using 510kb but in general allocated 1,5mb? on a larger app this difference is more significant. On my App I see memory allocation up to 200mb when Only live objects is 10mb. it is huge difference.
On the other hand, xamarin says that take snapshots and compare differences. As advised, I did just like that but results are not clear for me. Size Growth is always increasing even Object Growth reduces. why is that? App is quite basic, there 2 pages, Snapshot 2 to Snapshot 3 is taken after popping page 2 to page 1. How can it be that size growth is increasing If I am popping a page?
UPDATE:
Extended question here. When I click "Only Live Objects" as shown in the image, it displays Memory Allocated 9,5mb. if they are live objects, I understand that this is the current memory usage by managed code at least? Is that true?