If you run adb shell dumpsys <package_name>
, the output contains a section like this:
App Summary Pss(KB) ------ Java Heap: 65636 Native Heap: 22216 Code: 1444 Stack: 1444 Graphics: 79332 Private Other: 6140 System: 19569 TOTAL: 195781 TOTAL SWAP PSS: 85
What does the Graphics
metric correspond to?
please refer to How do I discover memory usage of my application in Android?
the Debug.MemoryInfo class has full documentation for related fields above~
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.