Discussion: How Linux and Windows 11 handle RAM limits on default settings

Posted by DesperateLevel494@reddit | linux | View on Reddit | 27 comments

Hey guys! I wanted to bring up a technical discussion about something I have noticed in practice. Recently I decided to install Linux on my girlfriend laptop (a Ryzen 5 4600H with 8 GB of RAM and 250 GB of storage).

Her workflow is a real stress test for that amount of memory. She basically likes to play The Sims 4 while simultaneously running Chrome with a bunch of open tabs playing music.

Before getting into the results, I want to provide some context about the goal of this test to avoid some common misconceptions:

The issue is that the default Linux memory management was ruthless in this scenario. The swap automatically configured by the installers could not handle it. On Zorin, the system just could not keep up and triggered the OOM Killer, suddenly closing the game or Chrome. CachyOS handled the resources a bit better, but it still eventually killed applications when the memory maxed out.

In the end, she decided to go back to Windows 11 for convenience. What surprised me was seeing how the default Windows optimization managed to hold this workflow together without closing anything. Windows, by default, uses an extremely aggressive pagefile strategy on the disk, which prevents processes from closing even when the 8 GB limit is breached. It might stutter a bit, but it does not crash the game in your face.

Since my personal rig has 64 GB of RAM (I run NixOS), I rarely hit bottlenecks to see default settings fail like this. I found it shocking to see the out of the box approach from Windows performing so much better and being more user friendly in this specific stress scenario on modest hardware.

This leads me to a final provocation: how can the Linux community present itself as the ideal solution for those looking to escape Windows if, on the default installations of distros focused on beginners, we cannot handle a regular user workflow? Should the user be forced to change their habits to adapt to the system, or should the system come prepared out of the box to adapt to the end user reality?