Defina o espaço de troca AWS
/var/swap.1 swap swap defaults 0 0
asad shah
/var/swap.1 swap swap defaults 0 0
sudo /bin/dd if=/dev/zero of=/var/swap.1 bs=1M count=1024
sudo /sbin/mkswap /var/swap.1
sudo chmod 600 /var/swap.1
sudo /sbin/swapon /var/swap.1