Home Features Docs Blog Support GitHub

Freeze on iOS 12 Startup with larger heap


(Juergen Falb) #1

Since iOS 12 we experience the following problem with MOE:

If you create the VM with a heap space larger than 256MB (e.g. -Xmx512m), than the VM hangs at startup moevm(jvmargc, (char * const *) tmp); in an endless loop while creating the initial heap at MemMap::MapAnonymous. It seems to be the loop where msync is called. Unfortunately, it doesn’t happen all the time but very often. It didn’t happen on iOS11, and it usually happens only on real devices.

Does anybody has idea if this can be tweaked in someway that we can start with a larger initial heap?