If you have >4GB of ram in your system you might want to change how often the OS would use your HDD/SSD for swap! It can also improve the lifespan of your SSD by reducing the writes in it!
First thing, open the terminal and paste the command bellow:
and hit Enter key
The result should be 60.
Now paste the command bellow:
And hit Enter key
Copy those 2 lines:
# Decrease swap usage to a more reasonable level vm.swappiness=10
Go to the end of the file and paste them.
Press CTRL + S and close that window
Please restart your system
Once your system is back, open the terminal and run again the command:
The new result should be 10.