I'm learning the fresco
lib of Facebook
. I see that storing bitmap on ashmem
with the option is inPurgeable
so great. It takes us a lot of care about memory management but decreases OutOfMemoryError
on Davilk heap
.
I wonder why Android 5.0 doesn't continously support BitmapFactory.Options
inPurgeable
.
Are there any changes in ART
?
Can anyone explain the reason for me? Thanks in advance.
EDIT
According to Ed George's answer:
Why do Facebook engineers still use inPurgeable from Android 3.0 -> 4.4?
Do they trade off Dalvik heap allocations for performance predictability?