Just recently, we got a glimpse of what the power of Sony Xperia Z4 would like next year. One of the most amazing things was the 4 GB RAM slammed on the device, forcing people to ask why Apple won’t increase the memory capacity on the iPhones.
In September, we actually shut-down the mouth of critics who questioned Apple’s decision to stick with an 8 MP sensor on the iPhone 6. Really, Megapixeles are overrated, this was exclusively proven with the iPhone 6 which is able to output crystal clear images, just like the Samsung Galaxy S5 which has a 13 MP camera.
However, as if that was not enough, Apple has again been questioned; it’s not about the #bendgate or #hairgate, but the RAM. Why won’t Apple increase the capacity of RAM on the iPhones? We have already seen a lot of Android devices using 3 GB RAM as a marketing strategy and it’s working for them and helping sales, but none of them are still able to outperform the iPhone 6.
This question was asked in Quora, a social website that allow people ask questions, expecting professional answers from experts. Answers have a Karma rating system, so the more the upvotes, the more authority a specific answer has.
Glyn actually answered the question and got over 2,600 upvotes. His answer was remarkable, including a graph and explanation of garbage collection and Java. You can quickly access Quora to check for yourself Glyn’s lucid explanation.
Basically, Glyn explains that Android apps utilize Java, this causes Android to perform garbage collection which involves memory being recycled once applications are finished with it. This works effectively well, only when there is sufficient amount of memory, and in the absence of excess memory, the devices start to suffer greatly.
In the diagram (pictured above) Glyn explains that garbage collectors are at their best whey they have a relative memory footprint of 4 or 8. Practically, Android requires 4 or 8 times more memory than it uses, in order to perform this garbage collection duties.
For iOS, the operational method is incredibly different. It doesn’t use Android style garbage collection for starters. This means iPhones do not need all the extra memory associated with Java and Android. Apple designed the iPhones to use only memory that it needs, so you don’t have to slam the device with excess RAM for something like garbage collection. Ouch..
Whenever you get no response from your Android phone and wondering why it’s still happening, despite the huge RAM capacity, this explanation is your answer! It’s just one of the reasons why iOS outperforms Android OS.