Adding SWAP Memory in Linux

Linux divides its physical RAM (random access memory) into chucks of memory called pages. Swapping is the process whereby a page of memory is copied to the pre-configured space on the hard disk, called swap space, to free up that page of memory. The combined sizes of the physical memory and the swap space is the amount of virtual memory available.

The following is what you can do to add new swap space to your system:

To list swap partitions and swap files use:

more /proc/swaps

Follow the steps to configure swap space:

Read More