Since this is an issue, I will add this to the Masternode guide today.
If you have < 2GB of RAM on the system, you wont be able to compile Sucre. Well have to set up a swapfile. If you have the required 2GB, feel free to skip ahead.
cd /var
touch swap.img
chmod 600 swap.img
dd if=/dev/zero of=/var/swap.img bs=1024k count=2000
#Preparing the Disk Image
mkswap /var/swap.img
#Star
swapon /var/swap.img
#Stop
swapoff /var/swap.img
#Enable your Swap File During Boot
echo "/var/swap.img none swap sw 0 0" >> /etc/fstab
# type free to see if it's working
free
Thanks for updating - unfortunately, it keeps saying permission denied on the last step.
ubuntu@i:~$ sudo echo "/var/swap.img none swap sw 0 0" >> /etc/fstab
-bash: /etc/fstab: Permission denied
ubuntu@ip-172-26-3-111:~$ free
total used free shared buff/cache available
Mem: 498380 40512 269172 1848 188696 425816
Swap: 0 0 0