currently I have allocated 2 GB swap size (RAM size in my machine is 8 GB) tried setting the swappiness value to 10 and right now the value is 1 but still Ubuntu is using swap when the used ram hits close to 60% thus making the system sluggish.
Is it a known issue/bug with ubuntu 19.10? I've tried turning off swap with swapoff -a but this is also changes after reboot. Any suggestion will be much appreciated.
/etc/fstab
by commenting it out, but I don't really recommend it since even if you go 1 byte over your memory limit, your system will crash. – darksky Nov 09 '19 at 08:40vm.swappiness = 1
and 8GB of memory you shouldn't experience that. Have you edited the file/etc/sysctl.conf
? – darksky Nov 11 '19 at 04:10