So, I have 786 MB RAM with 1.6 GB Swap. I want to increase the usage of swap. In other words, i want my Ubuntu to use more Swap than My RAM. Please Tell me, how to do it
If you want to increase the usage of swap, you can adjust Ubuntu's swappiness which has a default value of 60 by editing
sudo gedit /etc/sysctl.conf
and changing or adding the value of
vm.swappiness = 80
or any number between 0 (swap disabled) to 100 (swap used all the time).
However the default setting of 60 should be fine for your use case.
see also swappiness