Open a terminal: then type: sudo apt-get install zram config #enter your password next sudo echo "vm.swappiness=80" >> /etc/sysctl.conf reboot.