使用adb shell cat /proc/pid/status或者adb pull /proc/pid/status可以查看一个进程的内存使用情况
VmPeak:Peak virtual memory usage
VmSize:Current virtual memory usage
VmLck:Current physical memory usage of locked path
VmHWM:Peak physical memory usage of locked process
VmRSS:Current physical memory usage of process
VmData:Current physical memory usage of heap
VmStk:Current physical memory usage of stack
VmExe:Current executable physical memory usage
VmLib:Current physical memory usage of share library
VmPTE:Current physical memory usage of page table
VmSwap: Current swap memory usage
查看进程内存使用情况的adb命令详解

本文详细介绍了如何使用adb shell cat/proc/pid/status或adbpull/proc/pid/status命令来查看Android应用的内存使用情况,包括VmPeak、VmSize等关键指标。

1713

被折叠的 条评论
为什么被折叠?



