When I installed elementary OS I also created a SWAP partition.
I'm a front end developer so at any moment I have a lot of chrome tabs open, I have just 6 gigs of memory in my laptop(Its soldered so can't really upgrade).
It seems that elementary OS is just removing tabs from memory instead of moving them to the swap.
I assume this because whenever I run grep Swap /proc/meminfo
it just gives output something like this .
sarthak@envy:~$ grep Swap /proc/meminfo SwapCached: 8 kB SwapTotal: 8056828 kB SwapFree: 8031228 kB
Is there anything I can do about this?
sudo sysctl vm.swappiness=80
- try that and if it makes a difference then I'll write up an answer about how to apply it permanently. – KGIII Dec 19 '20 at 18:22