Clarity wrote: Sat Jan 25, 2025 9:26 pm@JusGellin open terminal and run 2 commands: free command and BTOP. Clues?
My personal experience might help as its simple.
I, personally, do this for every PC or VM for last 3.5 decades: create a SWAP partition that is the size of machine's RAM. Almost every forum distro will setup and use it at every boot; if it discovers a partition present, automatically.Many years ago, performance testing showed that SWAP partition was slightly faster than using swap-file.
In VMs, the qcow is partitioned for a SWAP partition (at size of virtual machine's RAM) and a Persistence partition. Thus my VMs tend to mimic the real (host) PC's system drive.
I use this instead of using a ZRAM approach because it does not use RAM for swapping. BUT, I also recognize that ZRAM offers a performance benefit as it is RAM based.
For using a file for swap, merely google 'swap file creation in linux terminal'
Hope that helps to arrive at a simple organizational layout.
Once I got it working(SWAP partition), it works well on a low memory laptop that has just 4G memory.
Thanks for your tips on this.