Android vs iOS: how different is their RAM management?

Android vs iOS: how different is their RAM management?
It doesn’t. There’s an enormous difference within the way iPhones use RAM and therefore the way Androids use RAM.
jrtechy.tk
Android uses garbage pickup to manage RAM. When using garbage pickup to wash RAM, RAM isn’t immediately freed up. There are various factors that trigger garbage pickup , but RAM that isn’t getting used isn’t freed up until there's a garbage pickup pass. Thus, Android phones need more RAM in an effort to stay a number of it available.
Also, Android apps run on Java. There’s nothing wrong thereupon , Java has been around a short time and may be a solid platform for developers. However, Android uses a virtual machine to form those Java apps run on Android which takes tons of RAM.

Why iOS Doesn’t Use as Much RAM as Android

Apple exerts a lot more control over the entire iOS ecosystem. If you want to use iOS, then you only have one option for a phone: the iPhone. If you want to create iOS apps, then you have to use Apple’s tools and do it Apple’s way. Apple rules with a tight fist.
There are many benefits to this, though.
Because Apple knows the exact specifications of every single device that will ever run its operating system, they can make design decisions accordingly. For example, whereas Android needs to support multiple processor types, iOS always runs on ARM-based hardware.
As such, iOS doesn’t need a virtual machine with on-the-fly translation like Android does. All apps are compiled to native code, and that code is executed directly on the hardware. No need for a virtual machine means significantly less RAM used overall.
Furthermore, iOS has a different approach to memory management. Whereas Android memory is handled by the operating system, iOS memory is handled by the apps themselves. Instead of allowing apps to take up as much RAM as they want and freeing it when no longer in use, iOS apps automatically allocate and deallocate memory as needed.
In short, just because iPhones have less RAM doesn’t mean they have worse performance. iOS has a different approach to memory management because it doesn’t rely on a virtual machine like Android does.

More resources

Post a comment

0 Comments