Answers for "ubuntu keeps freezing 20.04"

0

ubuntu keeps freezing 20.04

#Check the amount of swap you have
grep SwapTotal /proc/meminfo
#Turn off the swap process
sudo swapoff -a
#Resize the swap (in my case I expanded it to 16 GB)
sudo dd if=/dev/zero of=/swapfile bs=1G count=16
#Attach the swap to the partition
sudo mkswap /swapfile
#Activate swap (enable it)
sudo swapon /swapfile
#See the new swap size
grep SwapTotal /proc/meminfo
Posted by: Guest on September-16-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language