So there's some discussions around where normies complain that apps takes up too much RAM and never frees it. "Experts" claims to be programmers and know about memory management and shit, and always repeats "it's better to use memory for performance than not using it", "modern memory management is very smart", etc.
That's all fine and dandy. HOWEVER; in Linux Everything starts to be slow as shit when there is little RAM left, even with swappines set to low values. If for example Firefox is using a lot of RAM and I close all the tabs, the memory is not freed. According to "experts", freeing this memory would be a waste. When I restart Firefox, all the unused RAM is of course freed, and everyting else suddenly feels a lot faster.
Inb4 Firefox is to blame, the arguments from the memory management export crowd is always the same, also when the memory hog is aother software.
Can /g/ please shed some light on this?
>>59247153
its just lintoddlers and wintoddlers justfiying their shitty operating systems performance
>mfw macOS is the most lightweight OS i have ever used
i count 7 chrome tabs and 1 YT video btw
See the comment threads at http://superuser.com/questions/789548/why-does-my-firefox-memory-usage-keep-rising-with-use-and-never-returns-to-the-i for an example on this.
>>59247153
Obviously things get slow when you run out of memory and rely on swap.
Nothing can prevent that.
Most algorithms have the tradeoff with computations and memory.
And often this means using a bit more memory is preferred over taking more time.
Firefox is a special case for software as it is an operating system in user space.
It uses a lot of resources and they don't aim to fix that.
>>59247295
>Obviously things get slow when you run out of memory and rely on swap.
>Nothing can prevent that.
I know things get slow then, what I don't understand is the lack of willingness from experts and developers to aknowledge that freeing unused memory *do* make the rest of the system faster because it no longer has to swap.
>>59247153
No one who claims that unused memory is wasted memory is any kind of "expert" on anything.
Kernel developer here. Never use unnecessary amounts of memory, because you are cutting off memory for the kernel block cache and other processes to use.