Linux using swap when RAM is available
After you set swappiness to zero, you can try:
sudo swapoff -a && sudo swapon -a
to transfer the swap space to memory without rebooting the computer.
After you set swappiness to zero, you can try:
sudo swapoff -a && sudo swapon -a
to transfer the swap space to memory without rebooting the computer.