To add: see this post if you wish to create a swap file rather than assign a partition (I’d recommend making a partition for it, though).
To add: see this post if you wish to create a swap file rather than assign a partition (I’d recommend making a partition for it, though).