Hi, a new Fedora user here! I’m trying to play Star Citizen, but I’ve noticed that my system runs out of RAM (I have 16 GB) and SWAP when I play, thus crashing the game. I’ve played the game on Manjaro earlier, and then I just made a large SWAP partition when I installed the system.
I want to expand the current SWAP (8 GB), but I’m not sure how to do it without breaking anything on my system. I’ll provide any info needed, just not sure what is needed (if any).
Since Fedora 33, Fedora uses zswap now by default, so you shouldn’t need to create a swap partition. Once your memory fills up, zswap should start compressing your existing memory and using a little storage as it goes.
Well I don’t know what to say, when it reaches the base 8 GB the game crashes instantly, and I don’t see the Swp expanding beyond 8 GB through HTOP I did see it expand beyond when I had other apps open, but that was only like 700 MB. Is there no way to expand the default to beyond 8 GB?
Fedora contains a service called systemd-oomd, which kills processes which are misbehaving according to this service. Type as superuser : systemctl stop “systemd-oomd” and try again. With the risk of needing hard reset because there is no protection anymore.
You can always create a swapfile of any size, and add this to the zswap. You will find descriptions on the internet how to do this. A separate swap partition is slightly better, but a swap file can be created without any partitioning.