• 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
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?
 
Back
Top Bottom