Search code examples
androidmemoryandroid-binder

understanding dumpsys meminfo


I have two questions.

  1. 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.

  2. 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?


Solution

  • The output of dumpsys can be best understood by reading its source code.