What does Asset Allocations mean in adb shell dumpsys meminfo

Can someone tell me what Asset Allocations means in adb shell dumpsys meminfo Android? I see this when starting my Android device, and I see that my resources.arsc application consumes 516K, although my application does not work.

Thank.

+5
source share
1 answer

With resources.arsctwo possible things.

Usually the file is saved in .apk uncompressed. Android mmap()and simply reads from it if necessary, without loading the entire file into RAM.

However, if it is compressed, direct random access to the file is no longer an option, therefore it is decomposed and stored in memory for further operations (for example, to load a line).

, , . , ?

+1

All Articles