Procrank can be used to check if a process has memory leakage. Procrank will list four types of memory usage. For details refer to: http://elinux.org/Android_Memory_Usage
- Vss = virtual set size
- Rss = resident set size
- Pss = proportional set size
- Uss = unique set size
Uss can be used to check if a process has memory leakage. If the Uss increases when some operations start and stop, this means there could be memory leakage.
Procrank can get from: <myandroid>/out/target/product/<product_name>/system/xbin/procrank and also needs to push to the library you target: <myandroid>/out/target/product/< product_name >/system/lib/libpagemap.so