I was looking at the output given below for the command
adb shell dumpsys meminfo com.imangi.templerun
However, I am not able to understand this properly.
Can anybody help me understand this?
I was looking at the output given below for the command
adb shell dumpsys meminfo com.imangi.templerun
However, I am not able to understand this properly.
Can anybody help me understand this?
Since columns and rows presented may vary for different versions of 'dumpsys', I'll try to provide some generic overview here...
Every application in Android runs in different process that is running instance of its own Dalvik VM.
Android may share pages of memory among several processes (Think code of common frameworks). Clean memory is one that hasn't changed since it was allocated or loaded from storage (Code of your application). Dirty memory is space used for computations. Android does not have swap mechanism so Dirty memory is also RAM that will be freed when app exits.
Further reading: https://developer.android.com/tools/debugging/debugging-memory.html
© 2022 - 2024 — McMap. All rights reserved.