标签:nts openssl data local 3.0 ase binary shm apple
native 内存泄漏
adb shell dumpsys meminfo “packagename” -d
循环
while : ;do adb shell dumpsys meminfo “packagename” -d | grep "Native Heap"; sleep 1; done;
0000095573:~ xiaxing$ adb shell dumpsys meminfo “packagename” -d
Applications Memory Usage (kB):
Uptime: 9151889 Realtime: 9151889
** MEMINFO in pid 10657 [packagename] **
Pss Private Private Swapped Heap Heap Heap
Total Dirty Clean Dirty Size Alloc Free
------ ------ ------ ------ ------ ------ ------
Native Heap 35784 35636 0 0 37712 36237 1474
Dalvik Heap 34018 33784 0 0 33932 31281 2651
Dalvik Other 1061 1056 0 0
Stack 36 36 0 0
Ashmem 2 0 0 0
Other dev 7204 0 7204 0
.so mmap 8061 332 2656 0
.apk mmap 800 0 0 0
.ttf mmap 66 0 0 0
.dex mmap 8704 8592 80 0
.oat mmap 7725 0 1232 0
.art mmap 1951 1116 0 0
Other mmap 1507 8 368 0
GL mtrack 17896 17896 0 0
Unknown 2116 2112 0 0
TOTAL 126931 100568 11540 0 71644 67518 4125
App Summary
Pss(KB)
------
Java Heap: 34900
Native Heap: 35636
Code: 12892
Stack: 36
Graphics: 17896
Private Other: 10748
System: 14823
TOTAL: 126931 TOTAL SWAP (KB): 0
Objects
Views: 42 ViewRootImpl: 1
AppContexts: 3 Activities: 1
Assets: 6 AssetManagers: 2
Local Binders: 29 Proxy Binders: 21
Parcel memory: 8 Parcel count: 34
Death Recipients: 0 OpenSSL Sockets: 0
SQL
MEMORY_USED: 0
PAGECACHE_OVERFLOW: 0 MALLOC_SIZE: 0
Asset Allocations
zip:/data/app/com.baidu.aip.aigate-1/base.apk:/assets/facedetect.binary: 58K
标签:nts openssl data local 3.0 ase binary shm apple
原文地址:https://www.cnblogs.com/alanfang/p/9188829.html