What is swapping

Swapping is a process in computing where data is temporarily moved out of the main memory (RAM) and into virtual memory or disk storage, in order to free up space for other data. This helps prevent the system from becoming overloaded with too much data and slows down the performance of the computer. Swapping is a common technique used by operating systems to manage memory and ensure that the system runs efficiently.