Skip to main content

Why do iPhone have lesser RAM than Android phones ?

Why do iPhone have lesser RAM than Android phones ?

Why does the iPhone need so much less RAM than Android devices?

When comparing an iPhone to other Android powered flagship phones, one thing that tends to stand out, is the significant difference in the RAM storage of the devices. As a result, most people conclude that iPhone needs less RAM or that Android apps hog storage space. But does Android really use more RAM than iOS ?
RAM
The first thing we need to establish here, is that we are not talking about storage space. Internal storage space of devices is many a times clubbed together with RAM storage when the specifications are listed. What we are talking about is Random Access Memory (RAM), the memory used by the CPU to hold and execute apps. Below is a comparison between the flagship devices of companies over the past few years.
YeariPhoneSamsungLGOther
2016iPhone 7: 2GB
iPhone 7 Plus: 3GB
S7 & S7 Edge: 4GBG5: 4GB
V20: 4GB
Pixel & Pixel XL: 4GB
2015iPhone 6S: 2GB
iPhone 6S Plus: 2GB
S6 & S6 Edge: 3GB
S6 Edge+: 4GB
G4: 3GB
V10: 4GB
Nexus 5X: 2GB
Nexus 6P: 3GB
2014iPhone 6: 1GB
iPhone 6 Plus: 1GB
S5: 2GBG3: 2GB (16 GB model)
G3: 3GB (32 GB model)
Nexus 6: 3GB
2013iPhone 5S: 1GBS4: 2GBG2: 2GBNexus 5: 2GB

As you can see, iPhone consistently have lower RAM storage than Android devices with the only exception being the Nexus 5X. The popular opinion regarding this, is that iOS can offer the same if not better user experience by using lesser amount of RAM and this is inherently caused due to Android use of Java’s Garbage Collection Mechanism. This view will be reflected as the most popular opinion on the internet. But the more deeper you look into the problem, the more this opinion starts sounding like a myth.
Resident Set Size
To test the theory that apps on Android use more memory than the ones on iOS, we decided to compare memory usage across the devices. Before we share the results, let us share the thinking behind the results. When an app needs to perform a function such as loading an image, it will request for memory. Say the app asks for 1 MB of memory to load the image. At this point of time, the app’s virtual size will increase, but the system will not allocate memory to it just yet. The actual physical RAM allocating will occur when the app starts loading the image by reading it from storage and then writing it onto the RAM. Thus if only half an MB is used, the actual physical memory used by the app will be lesser than its virtual size.
This physical memory used by the app is termed as the Resident Set Size or RSS and is the best indicator of how much physical memory an app will need to run. Researchers have used a number of tools to identify the RSS needed for various apps on both iOS and Android. To test the claim, the same number of apps were installed on an iOS and an Android device and their RSS was determined. In each case the app was actually being used. Below are the results:

As you can see, it is a bit of a mixed bag. The Crossy Road app on Android uses 383MB of memory, while on iOS it uses 308MB. But conversely Temple Run 2 uses 211MB on Android and 364MB on iOS. Overall the trend is that Android apps use slightly more memory, around 6% more than iOS apps. However iOS apps aren’t half the size of Android apps. Its fair to say therefore, that the claim of Android apps being a memory hog doesn’t hold water. The actual reason cause therefore, is something else entirely.
Background and Foreground
The difference in the storage needs stems from the way the two OSes control background processes. Each of them follows a different approach and hence produce different results. iOS handles moving of an app into the background in 3 different ways:
  • An app can request time to complete a task that had begun when it was in the foreground before being pushed into the background.
  • Apps that have begun a download process, can pass on these process to the system and therefore can be suspended or terminated while the download progresses unabated.
  • Apps that need to run in the background to support a specific task can declare their support for one or more background execution modes.
You can test this yourself. If you own an iPhone, open Safari and hit a URL. While the URL is loading, carry out an action on the screen that causes the screen to render a change. You will notice that the page load has been paused while the screen is being rendered. Android however, approaches background apps with a different methodology.
Android keeps all apps alive on the RAM if there is sufficient RAM to support it. For Android, empty RAM is wasted RAM. This reduces battery usage as the apps are only initialized once and then remain alive on the RAM. Unless these apps have a background process, they do not use any battery while being kept alive. If your device runs out of RAM, then the system will kill off lesser used processes to allow its users to run the apps without worrying.
This difference in approach makes a lot of difference. The restrictions that iOS puts on its apps ensures better RAM management while at the same time keeping the user interface chugging along without any noticeable lag. Android on the other hand allows its apps to enjoy a higher degree of freedom thus allowing them to keep working in the background even though its not being used and this lets a user to get back to an app in its running state with any running tasks unhindered.
On the flip side of this approach, while iOS users might find their apps being in a frozen state when they get back to it, they get to enjoy having their device never suffering from a visible lag whereas Android substitutes this by allowing more processing to be done and thus has a higher requirement of RAM.

Popular posts from this blog

camtasia 9 key

1.abul hossain Key : BBCUV-UVDRC-M8C5S-CHMX7-2M3A5 2.YR-Invasion Key=BBCUVUVDRCM8C5SCHMX72M3A5

Hidden Wiki

Welcome to The Hidden WikiNew hidden wiki url 2015 http://zqktlwi4fecvo6ri.onion Add it to bookmarks and spread it!!!
Editor's picks Bored? Pick a random page from the article index and replace one of these slots with it.
The Matrix - Very nice to read. How to Exit the Matrix - Learn how to Protect yourself and your rights, online and off. Verifying PGP signatures - A short and simple how-to guide. In Praise Of Hawala - Anonymous informal value transfer system. Volunteer Here are five different things that you can help us out with.
Plunder other hidden service lists for links and place them here! File the SnapBBSIndex links wherever they go. Set external links to HTTPS where available, good certificate, and same content. Care to start recording onionland's history? Check out Onionland's Museum Perform Dead Services Duties. Introduction PointsAhmia.fi - Clearnet search engine for Tor Hidden Services (allows you to add new sites to its database). DuckDuckGo - A Hidden S…

[SOLVED] IDM WAS REGISTERED WITH A FAKE SERIAL NUMBER

[SOLVED] IDM WAS REGISTERED WITH A FAKE SERIAL NUMBER
Good News [May 08, 2015]: IDM developers got smarter, but the crackers are always a step ahead. Follow this article and send an email to [email protected] if you are desperate. I can NOT post any crack here for legal reasons. Happy Downloading with IDM. ;) *********** first tip is to use latest crack for idm from  onhax.net idm universal web crack and make sure u are using all latest vers I am sure many of us are too much dependent on Internet Download Manager a.k.a. IDM. The main reason didn’t permanently switch to linux was IDM. I mainly use it for batch downloading and download streaming videos. Till yesterday, IDM was working fine with me (of course with fake serial numbers, keygen, crack, patch etc. which could be found with little effort). But few days ago, with the latest update version 6.18 build 7 (released on Nov 09, 2013) Internet Download Manager was literally had a breakthrough and crushed all the serial numbers, …