3 ms·
Turn off swap and clear your caches to see your true ram usage: swapoff -a -v echo 3 > /proc/sys/vm/drop_caches I recommend `htop` to check out your m
by brobinson 11y ago
Turn off swap and clear your caches to see your true ram usage:
swapoff -a -v
echo 3 > /proc/sys/vm/drop_caches
I recommend `htop` to check out your memory usage after that.
You can also tweak the vm.swapiness variable to change Linux's behavior there. I personally just turn swap off on all my systems as soon as I set them up.
- mkl 11y agoWhat happens if you turn off swap while using more virtual memory than you have RAM?