2

When a run a simple application consisting of a single activity with a layout containing a button, the memory usage reported in the Android Studio Monitor is around 3MB. But when I take a look at the app memory usage in the task manager it reports 25MB.

So my question is which is the correct memory usage and why is there a discrepancy between these two?

--Edit - Task Manager that was included with the Samsung Tablet

user3622258
  • 125
  • 1
  • 11

1 Answers1

0

You can check it yourself by using dumpsys utility which is part of ADB. Details about this utility can be found here.

I think that you'll find out that Android Studio reflects the memory usage more accurately.

Community
  • 1
  • 1
Vasiliy
  • 15,653
  • 8
  • 64
  • 114