Ever Wondered Why iPhone’s 1GB of Memory Outperform Android devices with 2-3 GB Memory?


Glyn Williams from Quora gives us one of the best explanations as to why iPhones running on 1GB worth of memory outperform Android devices running up to 3x that memory. 

“Servicing RAM uses power. So more memory = more power consumption.


Android apps using Java, recycle released memory using garbage collection.  


What this diagram shows is that garbage collectors are really awesomely fast if you have a relative memory footprint of 4 or 8.

In other words, you need four or eight times more memory, than you are actually using to be super efficient. But when the memory becomes constrained, that performance goes way down. 

This is why Android devices have all that RAM. 

iOS does not use this style of garbage collection and does not slow down in constrained memory environments. 

So 1GB for iOS results in more performance than 3GB for Android.”


Advertisements
This entry was posted in iPhone and tagged , , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s