Why does an Android smartphone need more RAM?

Every year, Android flagship manufacturers increase not only storage capacity, but also RAM. You can already buy a smartphone with 16 GB of RAM. Does this mean that your 4 GB phone is outdated?Let’s figure out what RAM is, how a smartphone uses it, and why smartphones are equipped with more memory than they need.

What is RAM

RAM (Random Access Memory) is a short-term digital storage device. Computers and smartphones use RAM to store data from active applications, and it is also accessed by the processor and the operating system kernel. Its advantage is fast read and write speeds.

Even the fastest hard drive or flash memory is slow when you need to read or write something “right now,” and while the CPU in a smartphone has its own cache to store data that’s used for computation, there’s not much of it. Even the latest Qualcomm Snapdragon processor’s cache is only big enough to store what’s currently being used, so you need somewhere to store what’s running in the background.

The OS kernel acts as a coordinator. When you launch an application, the data created for its use goes into RAM, where the OS analyzes it and connects the processor and graphics chip to work. Only then is the data sent to the display. It sounds complicated, and the whole process takes a split second, so the user does not notice such details.

The main thing you need to know is: firstly, when you turn off your smartphone, the data in the RAM is erased; secondly, when you turn on your phone or computer, a part of the memory is reserved in the RAM, which cannot be used by either applications or even the OS.

How a smartphone uses RAM

If RAM is used to store data from open applications, then the more of it there is, the more applications can run in the background without slowing down the smartphone. That’s true, but it’s not that simple.

Let’s list the main processes where RAM is used during the first launch:

  • Virtual files.  There are several folders and files in Android that are not real. These are pseudo files created during boot and they contain data such as battery level and processor speed data. In Android, such files are stored in the /proc directory. There is always space reserved in RAM for this.
  • Kernel.  Android runs on top of the Linux kernel. The kernel is stored in a special compressed file that is extracted directly into RAM when the device is turned on. This reserved memory contains the kernel, drivers, and kernel modules that manage the hardware and the space for caching data in and out of the kernel.
  • Graphics Processing Unit. The graphics chip requires memory to operate, called VRAM. The integrated graphics processors used in smartphones do not have a separate VRAM. So they also have to access RAM.
  • Communication and information.  Finally, your IMEI and communication settings are stored in NVRAM (non-volatile RAM, which is not erased when the phone is turned off), but are transferred to RAM along with the software needed to support the modem when the smartphone is turned on.

After all these processes, the memory that remains is the one that will be used by the phone to work and launch applications. Keep in mind that many shells have been developed for the Android system, which means that additional processes can be added to them, for which space will also be reserved when the device is first turned on.

All this explains why the amount of available RAM does not match the total amount of RAM installed in a particular device. Usually, about 1 GB of RAM is allocated for all internal processes. Everything else is for applications.

Unused RAM is useless RAM

Android is designed in such a way that the RAM fills up as quickly as possible, leaving only a minimum amount of free memory for performing service tasks.

The system keeps apps in memory until it’s needed elsewhere. Apps and their processes are prioritized based on what they do, how they do it, and when they were last opened. When you open a new app, lower-priority apps are closed so the new one has the RAM it needs.

As you use your smartphone, you will spend more time on some apps than others. These apps tend to stay in RAM so that they can be accessed instantly. If RAM is always free, the apps will have to restart processes every time, which will consume more power and be slower than storing data in RAM.

This algorithm is relevant only in the case of smartphones on Android or iOS; in Windows and Chrome OS the principle is different.

Do all smartphones need the same amount of RAM?

The first Android smartphone had 192 MB of RAM. The Galaxy S20 Ultra or Nubia Red Magic 5G have about a hundred times more.

12GB or 16GB of RAM is excessive for a typical Android phone. Android One and Android Go smartphones lose about 1.5-2GB of RAM after booting. Smartphones with a third-party user interface lose about the same amount, but this is also added to the resource costs of running the shell.

That’s why smartphones that aren’t running stock Android need more RAM. And, for example, the Google Pixel 4 with 6GB of RAM will be able to store more apps in memory than competitors with the same amount of RAM running One UI or MIUI, because its interface uses less memory.

Large memory capacity is not always good

The cost of RAM chips is cheap if you buy them in bulk. Therefore, the memory capacity is beneficial for the manufacturer in several ways.

First, sell the device at a higher price and emphasize the volume in advertising. After all, the more powerful the specifications, the faster and larger the RAM is expected to be. That’s what advertising has taught us.

Secondly, smartphone manufacturers know that a large amount of RAM allows them to avoid software optimization (which often requires more investment and time). This point also answers the question of why Apple still does not put 8, 12 or 16 GB of RAM in its smartphones and tablets.

Leave a Comment

Scroll to Top