How to Permanently Disable Swap in Linux

In case the server has sufficient RAM or doesn’t require the use of a swap or the swapping decreases system performance, you should consider disabling the swap.

Source: How to Permanently Disable Swap in Linux (TecMint)