I am looking for any website, blog post, wiki, discussion, book, magazine, scientific article, which, by good authority, can explain the insides of memory management in Android. I know very well that most of Linux is where I should go first, but Android has dalvik, which, as I understand it, is deeply integrated with Kernel, Android also unloads applications if it runs out of memory, which probably makes Linux. So, I am looking for an authoritative answer about memory management in Android. Topics include, but are not limited to:
- How to interpret values from adb shell dumpsys meminfo, that is, what is the meaning of each value: size, distribution, free, Pss, confidential, general, dirty, what data is stored there?
- What will be the best indicator for estimating memory consumption on a device?
- Where is each * .so downloaded? Or does Android have execution in place?
- Are there limits on the amount of memory an application can consume?
- Does the OS describe a continuous piece of memory that can grow as long as it is continuous, or is fragmentation allowed?
- Etc.
There is a great answer in this thread. How do I know the memory usage for my Android application? , but I want to get a more detailed explanation, so I ask for an external resource.
source
share