Enlarge swap space
Enlarge swap space to 16GB
$ sudo swapoff /swapfile
$ sudo rm /swapfile
$ sudo dd if=/dev/zero of=/swapfile bs=1M count=16384
$ sudo chmod 600 /swapfile
$ sudo mkswap /swapfile
$ sudo swapon /swapfile
// check swap
$ cat /proc/swaps