swapoff -a
edit /etc/fstab and comment any swap entries if present.
run: sudo systemctl mask dev-sdXX.swap (where XX is the swap partition. Also useful to do it for all possible partitions so that if there is a swap partition on any other drive it will not be mounted)