When installing Ubuntu 18.04+ (and other modern distros), do I still need to create a SWAP partition?
Asked
Active
Viewed 7,765 times
2 Answers
2
No, Ubuntu supports a swap-file instead. And if you have enough memory - compared to what your applications need, and don't need suspend - you can run all without one.
Soren A
- 7,191
0
I would recommend yes, even if it's not mandatory.
When you hibernate the system, data present in the RAM is stored into the SWAP partition.
Also, depending on your system's amount of RAM, the SWAP partition can be used as an "extension" of the RAM.
Flow
- 2,476