Increase Linux Swap File

swap write

This article applies if you already have a swap file configured and you wish to increase it. If swap file is not enabled on your system, refer to this article: Setup Linux Swap File Follow this steps to increase the swap file on linux: 1.Deactivate swapfile first 2. Delete swapfile and recreate it to the desired size 3. Enable the swap file 4. Check swap was activated The output should be similar to the following

Setup Linux Swap File

swap write

Follow this steps to configure swap file on linux:If you wish to increase an existing swap file, please refer to this article: Increase Linux Swap File 1.Create the swapfile 2. Set file permissions 3. Configure the file as a linux swap file 4. Enable the swap file 5. Make the change peristent. Edit the following file: Append the following line: 6. Check swap was activated