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

2
  • what is task manager ? from where did you get this task manager? is it from android studio? Commented Apr 27, 2017 at 3:20
  • android studio showing your project's memory while Task manager is showing memory occupied by android studio Commented Apr 27, 2017 at 3:50

1 Answer 1

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.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.