I have a 12GB RAM system, and I find that usually it has a lot of memory consumption without any program other than nautilus or gedit opened.
If I do an htop and see which processes are running (ordering by MEM%), I see that gnome-shell has the top memory consumption with a 2.2%, nautilus with a 1.2% and the rest has less than 1% consumption. In no means I see how that list of running processes sums the quantity of used memory
- It is possible that any process has used some memory but it didn't freed it correctly?
- How can I free that all memory that seems to be in no use for anyone?
This is a bit annoying because I usually find that some program suddenly closes or the system freezes because of high memory usage.
Has anyone had a similar problem?
Edit: Add output of free
➜ ~ free -mh
total usado libre compartido búfer/caché disponible
Memoria: 11Gi 4,7Gi 3,5Gi 733Mi 3,3Gi 5,8Gi
Swap: 7,8Gi 6,0Gi 1,8Gi
vm.swappinessconfiguration? – matigo Apr 11 '22 at 07:30free -mh. The usual answer is "Unused Memory is wasted Memory". And the numbers seem fine. But yes, theswapusage seems the problem here rather. – pLumo Apr 11 '22 at 07:34cat /proc/sys/vm/swappiness-> 60 – fernandezr Apr 11 '22 at 07:5560is default, and generally good for most desktop systems with 16GB or less. Artur's answer may give you an indication of what to look for – matigo Apr 11 '22 at 08:15