I studied memory usage for the xamarin android application that I created, and it looked pretty high compared to other running Android applications on different devices (about 70 MB after starting for a while). I began research on this, first by comparing the memory usage of my application with other xamarin android applications. I looked at some sample applications, such as Employees (available on the front page of xamarin studio or on the xamarin website).
I noticed that when starting this application (and my application), they sequentially use about 25-30 MB of RAM, this happens even if I do not load the layout in the main launch activity. Is this expected? This seems rather high, since many other applications running on Android devices can get this maximum only after several days of work? If so, then I will just do my best to do my best as possible, but I would like to clarify whether this observation was by other people?
In the meantime, I am looking at an offer from the Android developer site to minimize memory usage (lifetime and layout hierarchy, etc.) to do my best to reduce the rest of the memory.
Using some standard tools (MAT, which is the main starting point), I struggled to determine exactly what this memory was using.
So my questions are: Is this the typical amount of memory for the Xamarin Android app that will be consumed when the first activity loads (even before the layouts are loaded) and what are the best xamarin compatible tools to determine how much memory each process uses.
source share