swap

swap

First create a 2 GB file For 8 GB, use count=8192. You can also use fallocate command instead of dd.