I use small Digital Ocean virtual machines, and they come with little RAM and little drive space. I originally allocated 4 GB for the swap, but now I want to reduce it to 2 GB.
Initially to prevent the server from going out of RAM and randomly killing processes like