I have 16GB of RAM, but I often find myself using all of it. Whenever I get to 15+ GB, my system slows to a crawl before crashing. Then I have to reboot the PC to get it to work again as it is pretty much unusable.
My question is, why doesn't my PC move these tasks to the swap when necessary? If I run htop, it says that 0K/0K of Swp is being used and this doesn't change even when I am using a lot of RAM. Running
cat /proc/sys/vm/swappinessyields 10 so I am pretty sire that is not the issue either.