2 ms·
You might just be misunderstanding Linux's RAM management strategy. Do you actually start getting out of memory errors, or do you see "free" memory rapidly go t
by lolinder 3y ago
You might just be misunderstanding Linux's RAM management strategy. Do you actually start getting out of memory errors, or do you see "free" memory rapidly go to zero?
If it's the latter, that's because Linux deliberately uses as much RAM as possible for caches and such, which means "free" should be near zero most of the time. The number that actually matters on Linux is "available" memory, which is the amount of memory that is currently free or used for optional caches and could be reallocated for a new required chunk of RAM should an application need it. Here [0] is a decent in-depth explanation.
If it's the former, there's something very wrong with your installation, because every Linux system I have makes much better usage of memory than Windows, even running a heavyweight DE like KDE. Even my machine that dual-boots Linux and Windows performs noticeably better on all metrics (including memory usage) when in Linux.
[0] https://linuxblog.io/free-vs-available-memory-in-linux/ https://linuxblog.io/free-vs-available-memory-in-linux/