+2 votes
in Operating Systems by (14.2k points)
My VPS has 16GB RAM and 1GB Swap memory. How can I disable Swap memory completely on Debian Linux?

1 Answer

0 votes
by (22k points)

You can try one of the following two things to disable Swap memory.

1. Log in to your VPS as root and run the following command on the terminal.

swapoff -a

2. Log in to your VPS as root and edit the file /etc/fstab. Comment out the line for Swap entry in this file.

...