I published the application a few months ago on Google Play, most of my users had serious problems with memory usage in my application, and this is true, because when I checked my memory usage on the "Launch application" tab, I see that it takes 80 ~ 110 MB of memory as shown below:

To find the class / activity or code fragments that cause this problem, I found a useful MAT plugin (Memory Analysis Tools), but it really confuses me, please consider the following image:

The total size of the used memory is 9.8 MB , however the "Launch Application" tab will show me 80 MB !
Another problem is the histogram, object Shallow heap of object byte[] too high.
This is normal? Also, when I debug some Google project, the byte value is always too big!

So how can I find that uses all this memory?
java android memory-management memory-leaks
iSun
source share