• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

ROMs 【Help】 a issues about android OOM

shanks123

Lurker
Nov 30, 2021
1
0
I meet a OOM, in android 9,10,11, logs as follows:

Failed to allocate a 1228810 byte allocation with 24149440 free bytes and 256MB until OOM, max allowed footprint 292719044, growth limit 536870912; failed due to fragmentation (largest possible contiguous allocation 219232 bytes)

it happens when call "ByteBuffer.allocateDirect"

i am wonder why art do not arrange the art memory since still have enough memory.

Could some one enlighten me?
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones