Interpret the output of "adb shell dumpsys meminfo" command

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Interpret the output of "adb shell dumpsys meminfo" command

Postby SerahIsNotMyName » Fri Aug 17, 2012 8:20 am

I need to know how a certain application uses the resources(Memory, CPU, battery, etc.) in the emulator. I am currently researching on the memory usage of the application. I learned that by using "adb shell dumpsys meminfo" command, it will give me information about its memory but I honestly dont know how to use this numbers to get what I want. The output of this command is shown below:

Applications Memory Usage (kb):
Uptime : 8329830 realtime:65446746

** MEMINFO in pid 890 [system] **
native dalvik other total
size: 10940 7047 N/A 17987
allocated: 8943 5516 N/A 14459
free: 336 1531 N/A 1867
(Pss): 4585 9282 11916 25783
(shared dirty): 2184 3596 916 6696
(priv dirty): 4504 5956 7456 17916

Objects
Views: 149 ViewRoots: 4
AppContexts: 13 Activities: 0
Assets: 4 AssetManagers: 4
Local Binders: 141 Proxy Binders: 158
Death Recipients: 49
OpenSSL Sockets: 0

SQL
heap: 205 dbFiles: 0
numPagers: 0 inactivePageKB: 0
activePageKB: 0

Could someone tell me the formula or how to use these numbers to compute for the memory usage of an application? Thanks
SerahIsNotMyName
Once Poster
Once Poster
 
Posts: 1
Joined: Fri Aug 17, 2012 8:04 am

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 9 guests