android adb shell dumpsys meminfo,android - adb shell dumpsys meminfo - What is the meaning of each ...

Since columns and rows presented may vary for different versions of 'dumpsys', I'll try to provide some generic overview here...

Every application in Android runs in different process that is running instance of its own Dalvik VM.

Native Heap row represents memory used by the process itself (Ex: Native C mallocs).

Dalvik Heap is memory allocated by Dalvik VM (Ex: Variables in your Java Android code).

Dalvik Other is memory used for JIT and GC.

Android may share pages of memory among several processes (Think code of common frameworks). Clean memory is one that hasn't changed since it was allocated or loaded from storage (Code of your application). Dirty memory is space used for computations. Android does not have swap mechanism so Dirty memory is also RAM that will be freed when app exits.

Private Dirty is unshared dirty memory (guess you figured that).

Private Clean is unshared clean memory (and that).

PSS Proportional Set Size: Is a tricky measurement where all private pages contribute 100% of their size and shared memory contribute 'size/(num of processes shared)'. This way if you sum up all PSS for all processes you'll get total memory used.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值