How Do You Add a Space to a Swap 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 is swap space calculated in Linux?
If RAM is more than 1 GB, swap size should be at least equal to the square root of the RAM size and at most double the size of RAM. If hibernation is used, swap size should be equal to size of RAM plus the square root of the RAM size.