Thursday, October 08, 2009

Android: meminfo

http://allstarschh.blogspot.com/2009/07/androidmemory-usage.html
http://developer.android.com/intl/zh-TW/reference/android/app/Service.html

#adb shell dumpsys

...
** MEMINFO in pid 1229 [com.android.browser] **
native dalvik other total
size: 8616 3463 N/A 12079
allocated: 8351 2823 N/A 11174
free: 20 640 N/A 660
(Pss): 3936 2484 7696 14116
(shared dirty): 1620 4172 884 6676
(priv dirty): 3868 1508 3076 8452

Objects
Views: 32 ViewRoots: 3
AppContexts: 2 Activities: 1
Assets: 2 AssetManagers: 2
Local Binders: 19 Proxy Binders: 18
Death Recipients: 1
OpenSSL Sockets: 0

SQL
heap: 206 dbFiles: 0
numPagers: 6 inactivePageKB: 95
activePageKB: 0

...

No comments:

Related Posts Plugin for WordPress, Blogger...