Hacker News new | ask | show | jobs
by KptMarchewa 1485 days ago
You must have a very different definition of "fine" than me. Only getting OOMkilled several times per hour is OK?
2 comments

My company has tens of thousands of non-technical users using M1 MacBooks with 8 GB RAM and they don't have any OOM errors regularly, if ever.

It sounds like your use case requires more than the baseline. You may be the outlier.

The commenter didn't say they were getting hit with OOMs. Is this something that is happening to you?
I used to hit OOMs on my 16GiB Macbook Pro pretty regularly, but that was IntelliJ + Docker + MySQL + Chrome + Debuggers + Google Meet + Slack

Someone using Chrome + Facebook or even a dev writing e.g. Python in VS Code to run locally is probably less likely to hit that.

I have one of the first set of M1 MBPs with 8GB.

All day I run Chrome with 3 profiles (as many as 5) and 40+ total tabs (sometimes a much higher number), VS Code, SourceTree, 8 docker containers running various services for dev (7 native, one emulated x86_64), iTerm, Photoshop CC and XD CC.

I run everything I can in the browser including Slack, GMail, GCal, our PM tool, etc.

With all of that said, I don't even know what a "OOM" looks like. The only real performance issues I have deal with an inherited codebase (which does stuff it really shouldn't be doing) and docker-specific filesystem slowness (which is a known issue).

OOM on OS X looks like the OS popping up a modal dialog asking you which application you'd like to kill because you're out of memory.

OOM on Linux looks like the OS just killing the heaviest application if you have no swap, or grinding to a halt if you have swap and actually need to use it as working memory.

OOM on Windows looks like your system grinding to a halt because you're paging all the time.

Yeah, Docker in MacOS and Java are particularly memory hungry as a combination. We stand up our whole k8s cluster in docker desktop as a matter of course and I fear for my 32GB work MacBook.