fallocate

Change swap size in Ubuntu

This post talks about how to change the size of swap file in Ubuntu.