Issue with Fedora 44 on surface pro 7

Hi,

I installed Fedora 44 GNOME on my Surface Pro 7 and installed all updates. To my surprise, Windows 11 was running with fewer issues.

Fedora has frozen multiple times due to high RAM usage (mainly Firefox), sometimes requiring a forced shutdown, and Firefox (ver 157) has crashed several times due to RAM usage while I was running just a few apps on OS and not too many Firefox tabs.

A fresh OS startup uses around 25% of RAM. With Firefox open and several tabs (nothing demanding, like videos), usage reaches 55–70% of my 8 GB RAM. It can exceed 95% fast with some tabs open, after which the system freezes and Firefox crashes.

While unfortunately I don’t recall my usual RAM usage on Windows 11, I could have tons of Edge tabs across multiple windows, a VPN, multiple IDEs, Obsidian, Office, and other apps running, probably maxing out the RAM, but I have never faced OS freezing or applications crashing like this, even under heavier workloads compared to Fedora 44.

I’m not sure whether there’s an issue with my setup. I haven’t installed the Surface kernel, but I don’t need the hardware support such as the camera.

Linux kernel has a bed reputation for out of memory killer (oomd).
I have 8GB ram, which is almost enough for my usage. However, to avoid freezing my system if memory goes out (which may be common for 8GB ram) i use

You can check how much RAM each tab is using in firefox, by going to
about:processes

I’m not much educated about RAM stuff in linux, so thats it from me :smiley:

Thank you for your feedback, so this is not surface specific issue and is common when reaching full RAM usage on Linux?

Yes, reaching full RAM can cause the system to freeze. However, it does get out of it after a few seconds to minutes.
earlyoomd kills the process before your system runs out of memory, and its very configurable (check their docs).

What does

swapon --show

return?

it returns the following:

NAME       TYPE      SIZE USED PRIO
/dev/zram0 partition 7.3G 1.4G  100

Since Firefox is the highest consumer of RAM, have you tried any tabs suspend plug-ins or something like that?

Hmm, just to be sure that firefox crashes because of this,
please share the output of

journalctl -b -1 | grep -Ei 'systemd-oomd|oom-kill' 

The -1 here checks for previous 1 boot, change the number as needed.

Unfortunately no, i havent.

It is Surface specifi - or possibly more correctly a problem with your specific machine setup. I use 8GB machines and they work flawlessly with the same programs you are using. You should have no issues with the software you have mentioned.

How are you analysing your RAM?