I'm currently using CachyOS and I've run into an issue where my games are getting terminated by the Linux kernel because of low memory. The RSILauncher gave me a notification stating that it has been closed. What steps can I take to prevent this from happening?
5 Answers
First, you should check if you allocated a swap partition during the installation. Swap acts like a page file in Windows, and having enough can help prevent issues like this. If you need to, you might want to increase it to help out your memory situation.
It really boils down to how much RAM you have. If you're running low, Linux tends to close applications to avoid crashing. Try to monitor your usage and consider closing any unnecessary apps or browser tabs. If your game ran fine on Windows 11, your setup for Linux may need a few tweaks to keep it stable.
Yeah, I know! It's kind of frustrating that it works on Windows but not here.
Have you checked out the LUG-helper wiki? They have some helpful tips that worked for me when I was modding games on Linux. Everyone's situation can be a bit different, so some tweaks might be necessary.
You're definitely running out of memory. If you disabled swap when you installed CachyOS or if it's too small, the kernel has to kill processes. Open your task manager and take a look at your physical and swap memory size. Increasing your swap file by another 4GB could really help.
Make sure you have a swap partition or swap file ready. CachyOS has zram enabled, which is decent, but with the high swappiness, you'll frequently see some swap being used. Just be aware of that when gaming.

That’s interesting! I thought Debian had this issue too where it would just hang up instead of closing apps. Good to hear CachyOS might handle it better!