Hi guys,
I work on Endeavouros since almost 2 years now, and i love this distro !
But I’ve been struggling with lot of out of memory crashes since few months, and most of the time it close my vscode app and/or my firefox window.
For example, today, i was working with 2 different vscode, maybe 2 terminal, and firefox with 10 tabs, and i had no less than 10 out of memory crashes…
I have a swap file, my kernel version is 6.5.5-arch1-1.
Systemd-oomd has been criticized before for being too aggressive. If you believe that the issue is with systemd-oomd and not vscode/Firefox (which is likely the case), then you could start with trying to edit the configuration file. It is located in /etc/systemd/oomd.conf. The comment header in the file gives you more information on how to edit the settings. Specifically, you may want to set the following setting: ManagedOOMSwap=auto.
I would put memtest86 on a USB and boot on that. Let it run through tests overnight. I’ve seen too many times a faulty stick go unnoticed for too long.