On 12/2/22 23:36, Daniel Morris wrote:
On Thu, Dec 01, 2022 at 09:45:43PM +1030, Simon Lees wrote:
I use a light weight window manager and its pretty common for my browser on its own to be above 8GB, if you end up with an electron app or two which are pretty common these days then its pretty easy to be hitting 16 already. I don't think I could have a functioning desktop with under 32GB to not be occasionally hitting issues. Having said that my machines are currently comfortably sitting at 11Gb and 13Gb running mostly general desktop workloads atm.
Having hit the OOM reaper this week, I wonder if your browser observation is perhaps an example of a generalisation of Parkinson's law? The browsers consume until stopped.
In my case competition against a freshly launched 4GiB VM in a system with 16GiB of physical memory triggered the OOM reaper.
Not sure why OOM killer targetted plasmashell with a score of 0 this week, instead of one/many of the 34 chrome(ium) instances with a score of 300, or another 8 chromium instances with a score of 200, eg:
On my last machine before I upgraded from 16 to 32 GB of ram I was launching Firefox in a separate cgroup to limit it to 6GB of ram which generally made sure it was dieing first. -- Simon Lees (Simotek) http://simotek.net Emergency Update Team keybase.io/simotek SUSE Linux Adelaide Australia, UTC+10:30 GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B