Windows vs Linux RAM Usage - Is Linux Better Than Windows?

ยท 365 words ยท 2 minute read

Is Linux better than Windows in RAM usage or RAM management ? Both Linux and Windows are full multitasking operating systems that use virtual memory.

If the operating system does not have enough space of physical memory, it use swap memory. swapping means that if your actual RAM is totally used, the operating system will take some of the memory from RAM and copy them into the hard disk or SSD. When you need to read or use those swapped memory, the OS will copy them from HDD or SSD back to RAM to use/read them. This idea is great back then, because there was too few physical RAM.

But it is less important now, as physical memory are available more. But still swapping is needed for some edge cases of usage. Windows OS is using a swap file, but Linux uses a swap file or swap partition.

We are testing Windows 11 versus Pop! OS. Pop! OS is Linux distribution that is based on Ubuntu. We test both operating systems for 64 bit and ARM64 architectures.

Here are some test results from Gary Explains YouTube channel .

Free memory size after fresh boot ๐Ÿ”—

RAM usage on Pop! OS (Linux) vs Windows 11 after fresh boot

Windows 11 uses more than 4GB of RAM after fresh start. On the other hand, Pop! OS (Linux) uses 1GB of RAM on x64 and less than 1.5GB RAM on ARM64. So, Linux uses less RAM as a system. But what about memory usage by programs?

Programs memory usage on Windows 11 x86_64 vs ARM64 ๐Ÿ”—

Windows 11 64 bit vs Windows 11 ARM64 memory usage

Programs on Windows uses almost the same amount of RAM on both x86_64 architecture and ARM64 architecture.

Programs memory usage on Linux x86_64 vs ARM64 ๐Ÿ”—

Linux x86_64 vs Linux ARM64 programs memory usage

Programs on Linux uses almost the same amount of RAM on both x86_64 architecture and ARM64, with an exception of VSCodium which uses more memory on ARM64 architecture.

Programs memory usage on Linux vs Windows ๐Ÿ”—

Linux vs Windows programs memory usage

After all those tests, we clearly know that programs use less RAM memory on Linux. So, if you can do your job tasks on both Windows and Linux easily, you should pick Linux over Windows for the efficient RAM usage.

Now we know with a proof that Windows is a memory hog.

Share:
waffarx cash back