How to create (or remove) a swapfile on Linux
A step-by-step tutorial on how to create or remove a swapfile on a Linux machine, and how to decide if you need one.
Swap space is storage on your drive that can be used as virtual memory when the system is running low on physical memory (RAM). It is also used when hibernating (suspend to disk).
More information: https://haydenjames.io/linux-performance-almost-always-add-swap-space/
A step-by-step tutorial on how to create or remove a swapfile on a Linux machine, and how to decide if you need one.