I increased the swap size from 4 GB to 19.8 GB and after that it is not swaping anymore (0 bytes). I followed this answer.


  • 1
    From the answer You provided first step should be disabling swap swapoff /swapfile and at the end enabling it again swapon /swapfile. What is the output of sudo swapon --show ? – Michal Przybylowicz Aug 13 at 21:41
  • @michal-przybylowicz, /nvme0n1p5 partition 3,8G 0B -2 /swapfile file 16G 0B -3 – xertex Aug 13 at 21:47
  • Related: askubuntu.com/questions/1165477/… – Raffa Aug 14 at 0:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.