zlacker

[return to "Linux on the laptop works so damn well that it’s boring"]
1. admax8+w5[view] [source] 2022-09-24 17:38:05
>>tonyst+(OP)
Linux still can't handle out of memory issues gracefully.

Sometimes I create memory leaks or use too many electron apps and when you hit a low memory situation Linux starts trashing and your system becomes unusable for minutes to hours unless you reboot your machine.

Mac and windows both manage to handle this gracefully by force suspending background processes it seems.

This makes Linux on the laptop hit or miss, multitask too much and your system effectively locks up. Laptops tend to have less ram available.

◧◩
2. smolde+T5[view] [source] 2022-09-24 17:39:59
>>admax8+w5
Depends on your configuration/distro. OOM killers aren't really used on the desktop because swap makes more sense, but you can certainly add one if you're using a resource-constrained machine.
◧◩◪
3. yakubi+P6[view] [source] 2022-09-24 17:44:39
>>smolde+T5
OOM killer is a pseudosolution to an artificially created problem.

https://lwn.net/Articles/104185/

◧◩◪◨
4. smolde+49[view] [source] 2022-09-24 17:59:30
>>yakubi+P6
Then don't use it. Most distributors don't enable it by default for a reason.
◧◩◪◨⬒
5. yakubi+z9[view] [source] 2022-09-24 18:02:40
>>smolde+49
Yes, but that still leaves the problem, which shouldn’t exist in the first place (edit: and on Windows doesn’t).
[go to top]