I have two questions.
In dumpsys meminfo
, there is one number called Local Binders
. What does it mean? Is it simply a kind of native pointer? And in which cases would this number increase? I have observed that the app or even the emulator would crash when this number increased to about 1000.
In the memory usage section, there are three columns: native
, dalvik
, and total
, and total=native+dalvik
. So why are the two parts ( native
and dalvik
) added together? Isn't dalvik
heap referring to the Java heap, which should be part of the data section of the Unix process?
Every time process create a binder service, the number increase.
What's more, binder will need binder buffer which allocated in kernel space, while kernel space is very valuable for system, So, too many binder service mayby cause some trouble.
通过阅读其dumpsys
可以最好地理解dumpsys
的输出。
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.