News for hackers. Stuff that matters.
Re:Apple's follow-up to M1 chip goes into mass production fo... by monocasa on Tuesday April 27, 2021 @01:54PM (#26959208)
She has problems with 16GB on x86. A single docker container and compiling erlang really don't use that much. It's many tabs of office 365, google docs, and social media, and how every app is an electron app now that eats memory.

I think we as programmers have lost sight of how a single gif in memory is about the same size as a whole docker container.

Re:Apple's follow-up to M1 chip goes into mass production fo... by jolux on Tuesday April 27, 2021 @02:36PM (#26959729)
I don’t think that’s accurate, because Docker on macOS involves virtualization. And Teams is the worst resource hog I’ve used. Though I don’t use Office or social media much (Twitter occasionally) so maybe that’s it.
Re:Apple's follow-up to M1 chip goes into mass production fo... by monocasa on Tuesday April 27, 2021 @03:37PM (#26960457)
> because Docker on macOS involves virtualization

Go check out the resource usage. Yes, it involves virtualization, but the stripped down virtualized kernel uses very little resources. Getting that information is a bit complicated by the fact that it's difficult to see the difference between the virtualized kernel and it's applications in a way that's consistent with the host OS, but it's really in the dozens of megabytes range of overhead for something like docker on mac.

Re:Apple's follow-up to M1 chip goes into mass production fo... by jolux on Tuesday April 27, 2021 @07:57PM (#26963681)
I guess I should say I don't disbelieve that your mother in law was having problems with the memory in her computer, I just find it baffling because I use mine extremely heavily and my RAM usage rarely peaks like 12GB.

Just to check, I opened simultaneous projects in Logic Pro and Ableton Live, I have a Rust project open in VSCode (Electron), compiling Erlang again, I have Slack, Discord, Signal, and Hey running (all Electron apps), and I have Firefox open with Twitter, Hacker News, Facebook (a dozen tabs, just for good measure), Instagram, FBM, Techmeme, NYTimes, CNN, and MSNBC. This is a 15" 2018 MBP with a 6-core i7 and 16GB of RAM, and the CPU is working pretty hard but RAM usage is currently at just over 12GB.