How to read android dumpstate PROCRANK memory info
October 28, 2010 23:00:48 Last update: August 23, 2011 08:51:42
Running "
Reference: How to discover memory usage of my application in Android
adb shell procrank":
root@android:/ # procrank PID Vss Rss Pss Uss cmdline 291 119848K 102340K 59883K 44488K system_server 367 69460K 69020K 42641K 40928K com.android.launcher 2884 72216K 71844K 39865K 27524K system_server 1522 49812K 49676K 23367K 21980K com.android.settings 2536 47792K 47640K 21599K 20444K com.sec.android.app.music
| Column Name | Meaning |
|---|---|
| VSS | Virtual Set Size: how much virtual memory associated with process |
| RSS | Resident Set Size: how much physical pages allocated for the process. Pages shared between processes are counted multiple times |
| PSS | Proportional Set Size. Take the RSS number but evenly distribute shared pages among the sharing processes. For example, if three processes are sharing 3MB, each process gets 1MB in PSS. |
| USS | Also known as Private Dirty, which is basically the amount of RAM inside the process that can not be paged to disk (it is not backed by the same data on disk), and is not shared with any other processes. |
Reference: How to discover memory usage of my application in Android