Fix composer running out of memory on Digital Ocean

Fix composer running out of memory on Digital Ocean

Content
Date Long
Code
dd if=/dev/zero of=/mnt/composer.swap bs=1M count={megabytes} # 1024, 4096, 8096, etc.
chmod 600 /mnt/composer.swap
mkswap /mnt/composer.swap
swapon /mnt/composer.swap
echo "/mnt/composer.swap none swap sw 0 0" >> /etc/fstab