What is swap usage in Linux?
Answer
Swap space in Linux is used
when the amount of physical memory (RAM) is full
. If the system needs more memory resources and the RAM is full, inactive pages in memory are moved to the swap space. … Swap space can be a dedicated swap partition (recommended), a swap file, or a combination of swap partitions and swap files.
Answer
Swap space in Linux is used
when the amount of physical memory (RAM) is full
. If the system needs more memory resources and the RAM is full, inactive pages in memory are moved to the swap space. … Swap space can be a dedicated swap partition (recommended), a swap file, or a combination of swap partitions and swap files.