Android Memory Usage Tool: Procrank

Document created by Bing Song Employee on Oct 31, 2012Last modified by Jodi Paul on Mar 12, 2013
Version 2Show Document
  • View in full screen mode

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

Attachments

    Outcomes