swap
0%

The Filesystem · Lesson 8

swap

Learn how Linux uses, initializes, activates, sizes, and safely deactivates swap space.

Linux can move selected anonymous memory pages between RAM and swap-backed storage. This can retain inactive memory while freeing RAM for active workloads and filesystem cache, but storage is much slower than RAM. Swap is a capacity and memory-management tool, not a substitute for sufficient memory or an application memory limit.