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. ASalaz+k7[view] [source] 2022-09-24 17:47:29
>>admax8+w5
> Linux starts trashing

You mean intensive use of swap memory? You could turn off swap and get OOM errors instead if you like a snappy system, but I don't know if it's fair to criticize an OS for running out of memory. It's the user fault for using software that demands more resources than the equipment has, or for not expanding the RAM when it's clearly needed.

◧◩◪
3. Dylan1+3k[view] [source] 2022-09-24 19:22:13
>>ASalaz+k7
On the other hand I absolutely can blame an OS for not letting me set a minimum amount of memory for the disk cache.

Even if I disable swap, when Linux gets very low on memory you get the exact same symptoms when it starts discarding increasingly-active program code.

[go to top]