Android’s ART used to be a completely AOT approach (that compiled to native machine code on the machine at install time), nowadays there is also a JIT compiler that shares profiling information across devices even.
Yeah, to be clear my point is not that one is better than the other but simply that you can’t directly compare RAM without adjusting for the fact that they have different designs.