How to Add Swap Space on Ubuntu 20.04
Systems with less than 2 GB RAM – 2 times the amount of RAM. Systems with 2 to 8 GB RAM – the same size as the amount of RAM. Systems with more than 8 GB RAM – at least 4 GB of Swap First, create a file that will be used as swap: If the fallocate the utility is not present on