Concept of Swap Space

 

Swap space is a designated area on a disk (either a partition or a file) that acts as an extension of your computer’s physical memory (RAM).
When the RAM becomes full, the Linux kernel moves inactive or “idle” data from the RAM to the swap space to make room for active processes. This process is called paging or swapping.