cscs  
                
               
              
                  
                    23 March 2024 04:58
                   
                   
              17 
               
             
            
              
Yup, no swap. 
Which means … aside from oom-killer being able to get rid of things, your system would otherwise be expected to lock up when it reaches the end of its memory.
Theres lots of options for SWAP.
https://wiki.archlinux.org/title/Swap 
I usually suggest zram these days unless hibernation is required.
Heres an example that would create zram for swap equal to the size of your memory;
Continuing the discussion from Awful performance since install :
sudo pacman -Syu zram-generator
 
Then edit the configuration file. (use your preferred editor)
sudo micro /etc/systemd/zram-generator.conf
 
You want it to look like:
[zram0]
zram-size = ram / 1
compression-algorithm = zstd
swap-priority = 100
fs-type = swap
 
You may want to ensure zswap is disabled as well. One way is to add to the boot options, at /etc/default/grub the option zswap.enabled=0. 
That is to add it to one of the CMD lines so that (Assuming no other options) it would look like:
GRUB_CMDLINE_LINUX="zswap.enabled=0"
 
Then run
sudo grub-mkconfig -o /boot/grub/grub.cfg
 
And reboot. 
You can check the configured swap/zram using
swapon
 
zramctl
 
 
 
Though that still wont ‘fix’ the runaway memory usage.
For that … please see related threads on pamac as linked above.