This seems to need to be increased. As @Canapin pointed out with my topic having 4g of ram was not sufficient.
And as I mentioned in my topic the instructions for adding a swap file should be added to git hub install instructions even if just an option if 4g of ram or less.