Frequent Question: How Do I Resize Swap Space in Linux?
Contents How Do I Resize a Swap? Case 1 – Unallocated Space Present Before or After the Swap Partition to Resize, Right Click on the Swap Partition (/Dev/Sda9...
Contents
How do I resize a swap?
Case 1 – unallocated space present before or after the swap partition
- To resize, right click on the swap partition (/dev/sda9 here) and click on the Resize/Move option. It will look like this:
- Dragging the slider arrows left or right then click on the Resize/Move button. Your swap partition will be resized.
Must Read
How do I reduce swap space in Linux?
To clear the swap memory on your system, you simply need to cycle off the swap. This moves all data from swap memory back into RAM. It also means that you need to be sure you have the RAM to support this operation. An easy way to do this is to run ‘free -m’ to see what is being used in swap and in RAM.