We offer an ISO image of GParted Live for graphical management of disk partitions. You may increase the size of a swap partition as following instructions.
Generally there are two partitions on your VPS hosting: root partition (/dev/vda1 or /dev/sda1) and swap partition (/dev/vda2 or /dev/sda2).
1. Boot to GParted Live.
2. Resize root partition and get enough free space for swap use.
3. Resize swap partition:
(1) Move the partition for using free space preceding;
(2) Extend the partition for using free space following.
4. Apply the changes.