Frequent Question: How Do I Fix Swap Space in Linux?
Contents How Do I Change the Swap Space in Linux? the Basic Steps to Take Are Simple: Turn off the Existing Swap Space. Create a New Swap Partition of the...
Contents
How do I change the swap space in Linux?
The basic steps to take are simple:
- Turn off the existing swap space.
- Create a new swap partition of the desired size.
- Reread the partition table.
- Configure the partition as swap space.
- Add the new partition/etc/fstab.
- Turn on swap.
Must Read
What is Linux swap space?
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 is located on hard drives, which have a slower access time than physical memory.