Swap space is disk space set aside to act as overflow memory when a server's physical RAM is fully used.
How It Helps
Rather than crashing when RAM runs out, the operating system moves less-used data to swap space, freeing up RAM for active processes.
The Trade-Off
Disk storage, even fast SSD/NVMe, is significantly slower than RAM — a server relying heavily on swap will feel noticeably sluggish, since it's a safety net, not a true substitute for adequate memory.
When to Add More RAM Instead
If your server consistently relies on swap under normal load, that's a signal to upgrade RAM rather than just accepting the performance hit.
Español
Deutsch