4 ms·
As someone who has to occasionally unstick stuck systems by way of `echo 3 > /proc/sys/vm/drop_caches` because memory management in the real world doesn't work
by Karunamon 5y ago
As someone who has to occasionally unstick stuck systems by way of `echo 3 > /proc/sys/vm/drop_caches` because memory management in the real world doesn't work the way the people who write condescending sites like linuxatemyram.com say it does:
Memory most definitely is a previous resource.
- TameAntelope 5y agoWhat’s funny about this comment is how detached from reality it is. If you round, approximately zero users of Electron apps know how to do what you’re talking about, and yet they continue to successfully use Electron apps across a variety of platforms. The fact that you have to finely manage your system’s memory is a you thing, not an Electron thing. The two are entirely orthogonal. Memory is not a precious resource, no matter how much you want to live in a world where your obsessive compulsion to manage it is reasonable.
- Karunamon 5y agoWas it really necessary to have the rude and condescending attitude? While it served the point of illustrating the toxic behavior I took issue with of those who claim memory management is Fine(tm), I don't think it was warranted here. I only care about managing my memory because the consequences of running out of free memory are severe. Linux as shipped by mainstream distros is quite happy to start filling swap (with attendant kswapd CPU usage) when there's multiple gigabytes of pointless inode/dentry cache to evict. Both of these are problems that simply don't exist on Windows and MacOS. Windows because it doesn't pretend half of my system RAM is useful cache, MacOS because it does compression out of the box and doesn't appear to be so aggressive.
- TameAntelope 5y agoOn each and every point your view is only true in very isolated and niche situations, while simultaneously begging the question that you’ve run out of memory in the first place. Linux is not good for desktop environments for exactly the reasons you outline here (and many more). It’s not Electron’s fault you’ve used the wrong tool for your desktop OS.
- otterley 5y agoIt's very antisocial to tell people they're using the wrong tools. In today's world, it's becoming no longer sustainable to respond to wasted resources by asking the world to purchase more resources (resulting in even more waste in the long term) to accommodate it. Conservation is becoming increasingly important.
- TameAntelope 5y agoIs it antisocial to tell someone they're being antisocial? And you're using the words "wasted" wrong, assuming you're referring to the memory footprint of Electron. Electron uses memory to solve a compatibility problem, that's not wasted at all.
- otterley 5y agoOne person's benefit is another person's waste. If you think there's not room for vehement disagreement around how best to use space, go watch an episode of Hoarders.