To know the memory usage by the app run below command in cmd prompt. (make sure you have system variable defined to point SDK tools).
adb shell dumpsys meminfo.
adb shell dumpsys meminfo <processname>
We can use the below command for more accurate memory usage but this may not work on devices, use this command for Emulators.
adb shell procrank
https://groups.google.com/forum/#!topic/android-developers/r9hl8-t0lO0
adb shell dumpsys meminfo.
adb shell dumpsys meminfo <processname>
We can use the below command for more accurate memory usage but this may not work on devices, use this command for Emulators.
adb shell procrank
https://groups.google.com/forum/#!topic/android-developers/r9hl8-t0lO0