androidram

Android app maximum RAM usage is high and average RAM usage is low


I'm new to android. I have made an app that displays the data usage of all the apps in a recycler view (according to the date provided by the user).

When I see the RAM usage in Android Studio Profiler, it is showing a maximum of 120 MB. But, when I open the RAM usage of my app in the physical device, it shows that the maximum RAM usage is around 500 MB, and average RAM usage is around 10 MB.

I used it for around 10 minutes. Is it normal or consuming a lot of RAM?

Android Studio may be showing wrong usage. How to get the correct usage in the profiler?

Can anyone please help me?


Solution

  • I am answering my own question after 3 years. This is normal because I was testing the app in debug mode. The debug mode consumes a lot of RAM. In the release build, everything is fine.