Re:Tab Unloading in Firefox 93
by favorited on Tuesday October 05, 2021 @02:05PM
(#28763172)
IIRC on Linux, it overcommits when allocating, so you can keep mallocing memory beyond capacity and it won't actually fail until you go to use that memory.
[ Parent
| on HN ]
Re:Tab Unloading in Firefox 93
by marcosdumay on Tuesday October 05, 2021 @04:21PM
(#28765075)
The GP is describing a signal that your application can react to, not a behavior of allocation failure.
Linux could use some improvement on both. The idea that you always have enough swap and can send everything not used there is wrong. Applications know better how they behave a low-memory than the kernel.