These are the top 4 phones in 2017 in the Android world, the RAM parameters are very high and if you want to upgrade it also costs a lot of money (from $ 650 to $ 1000). Most Chromebooks are only 4GB, only a few have 8GB versions, and even those are cheaper than Android phones.
Although only the OnePlus 5T has 8GB of RAM, there must be a reason that Android generally needs so much RAM. What if compared with iPhone?
Meanwhile, the iPhone only needs about half of Android's RAM
You probably already see it. The most sluggish "iPhone" in 2017 is the iPhone 8 with only 2GB of RAM, the iPhone 8 Plus with 3GB and even the latest iPhone X, the best is only 3GB.
Looking ahead a bit, this is not surprising. iPhone 7 Plus of 2016 also has only 3GB. iPhone 7, 6S Plus and 6S run 2GB no problem, iPhone 6 still runs iOS 11 and only 1GB RAM.
Why can iPhone 6 of 2014 be able to run the latest iOS version with only 1GB of RAM and Android devices need up to 8 times more RAM?
From the beginning, Android was designed to support many types of processors, many manufacturers and many ways to tweak different components. Typically, software written for a certain system cannot run on another system but must switch (port), usually rewriting incompatible bits.
Android apps often run on Java. Java is convenient because you only need to write the application once on Java then the virtual machine will "translate" that code on the runtime environment to run on other systems.
But this also has its price.
Java virtual machines are very complex and costly, not only managing processes on virtual machines but also keeping the original Java code of the application and the code after being translated to run on the system.
On the one hand, virtual machines on Android have been improved for many years and do not need much RAM as before. But on the other hand, Android apps are also getting more complex and need more RAM. RAM is also needed for background processes that are very popular on Android applications.
Android consumes more RAM than iOS, so more RAM is needed
Finally, Android is built on a method called 'garbage collection'. Android apps are encouraged to use as much RAM as possible. Android will then clean up a body on RAM all the unused data (junk) for other applications to use. This will work when the machine has a lot of RAM, otherwise the system will lose a lot of time to clean up the garbage.
So if you use Android, it should be 4GB RAM to have good speed. If not then at least 2GB .
Apple controls its iOS ecosystem much tighter. If you use iOS, you only have one option, iPhone. If you want to create an iOS app, you must use Apple's tools and play according to Apple's law.
This has its own advantages.
Apple knows exactly the parameters of each device running its OS so it can make design decisions. For example, Android needs to support multiple processors, iOS only runs ARM.
Therefore, iOS does not need a virtual machine to translate immediately and always like Android. All applications are compiled in native code, executed right on the hardware. Without a virtual machine, it also means that you need more RAM.
iOS is also thinking about managing other memory. While the Android OS itself manages memory, on iOS, this is for apps. Instead of allowing the app to take up more RAM and free up when not in use, the iOS app automatically allocates memory when needed.
iPhone with less RAM doesn't mean it will run slower. So many times looking at the specifications is not enough to say anything.
See more: