Ask HN: Is 16GB enough for Software Engineering (M1 13“ MacBook Pro)?

17 points by romainpechayre ↗ HN
Apparently, the M1 chip does not support mort than 16GB or memory. https://www.theverge.com/2020/11/10/21559200/apple-m1-macbook-pro-mac-mini-16gb-ram-memory-limit

Nowadays Google Chrome, VS Code, Slack and Notion are now eating 90% of the memory of my 16GB MacBook Pro. One reason to switch to a new laptop would be to upgrade to 32GB. This won't be possible for now with M1 macs.

What do you guys think? Is 16GB reasonable today for average Software Engineering work?

This seemed to me like a nice question for HN (Mac and Electron apps ranting welcome)

36 comments

[ 2.9 ms ] story [ 72.5 ms ] thread
I am on MBP mid 2014 15". It has 16GB of DDR3 memory. With just Slack, IntelliJ(not even doing anything), and Chromium browser I'm sitting at ~10GB. There is no way I would ever buy a laptop on which I intend to work with, with less than 32GB.

https://imgur.com/a/iKSVDGk

You should run Slack in Vivaldi/Chromium, that should save some memory usage.
Interesting.

For comparison, I have exactly the same MBP mid 2014 15" with 16GB.

As I type I have Slack, IntelliJ (with large Scala project), VSCode, Spotify and Chrome with plenty tabs open, and sitting comfortably at ~7 GB.

I think the difference is that you will be using pagefiles while the 32GB one will not.
Currently using 18.1GB/64GB of ram with Rstudio, Docker, Discord, Many chrome windows open. Was just about to hit the "buy" button yesterday but being that ram-constrained in the era of electron-based apps seems like it's pushing it.
Interesting. I have been doing development with Xcode (plus some with Visual Studio Code) on a 2017 mbp with only 8 GB and it hasn’t been terrible, or at least the RAM hasn’t been the bottleneck.
Yes. It's just not ideal. It depends a lot on what you want to do. Plenty of developers work on remote boxes either by remote desktop or SSH. That is not very memory intensive.

On the other hand, if you want to make iPhone apps, you'd probably want more, as Xcode for e.g. is a resource hog.

Yes - if you don't want to use VMs every day. Still it depends how long you want to use it, for 5 years it could be a bit tight.
For me longevity is the main factor in not getting 16GB. I’m using a 15” 2015 MBP with 16GB for web dev work and I have no problems, but I tend to keep my resource usage low: emacs or vim, Safari usually with very few tabs, Slack, and sometimes Music. I’m getting the 16” MBP in a few weeks, with 32GB ram.
I don't want to use VMs every day, but I often have to for my work. I suspect it's the same for a lot people here.

In several jobs in recent years I've also had to develop on very resource heavy Java applications which absolutely cripple my MacBook Pro 16GB when running a browser with several tabs open, Spotify, an IDE (sometimes two), Teams, Slack, and occasionally a VM for testing.

Granted this isn't a typical workload, but I'm frustrated enough that I have been waiting all year for this new lineup of 13" MacBook Pros (although I was hoping for a 14" model honestly) so I could finally upgrade to 32GBs.

I also assumed that 16GB would have been minimum amount of RAM Apple would ship in a professional laptop released at the end of 2020, yet they seem to believe there are some professional users who can get by with just 8GB just fine which confuses me even more than the 16GB limit.

It's also worth noting that the upgrade to 16GB is $200. That's $200 for 8GB of RAM! I know this isn't out of the ordinary for Apple, but that's just an outrageous price for what should be included in the base model anyway.

So yeah, I'm pretty disappointed. I was almost certain I would be buying a new MacBook Pro yesterday, but as it stands I really have no reason to upgrade from my 2016 model.

>In several jobs in recent years I've also had to develop on very resource heavy Java applications which absolutely cripple my MacBook Pro 16GB when running a browser with several tabs ope

On the flip side, I've got 16 gb and when I've checked I don't think I've ever been using half of that. There's definitely scenarios where it could happen, but for general programming on non gigantic problems 16gb is plenty.

RAM is also less important these days with fast SSDs. With a spinning disk having to read a file was a performance killer. But SSDs have very high throughput and having to use the page file isn't as big of a deal as it once was.

The Thinkpad X1 Carbon line is also capped at 16gb Ram. I can't understand why manufacturers do this. How hard is it to offer the upgrade to 32 gb?
For slim laptops like the Carbon I think it's mainly that they want to use LPDDR (low power RAM), which might not be available as 32GB. It's even worse when the RAM is soldered in some laptops
I just ordered a T14. It is a nice laptop, except One of the RAM slots is soldered. Even thinkpads do it these days. It is just a matter of time before everyone copies Apple and lock everything down. Super annoying
I hope you've not 'just' ordered. My order from November 1 got pushed back further, this time to 29 January, today.
I'm using a 16gb MacBook Pro, developing in a mix of Scala, JavaScript, and Python projects in Intellij, with a handful of Docker containers running in the background. For the most part it is reasonable.

I have gotten OOMs when working on the Scala project though, which to me is one more reason not to use Scala.

𝟼̶𝟺̶𝟶̶𝙺̶ 16GB should be enough for anybody!

Yes, I know the above quote was not actually stated by Gates or was misinterpreted, but the reason that it became so infamous is pretty much the same case as this. It's the short sightedness of the thing. (or in this case, perhaps a marketing trick as they now have a great "now supports up to 32 or 64GB" tagline for their 2021 model that will drive another must-upgrade rush)

It's pretty ridiculous to release a "latest and greatest" generation of any computer in 2020 with a hard 16GB limit. Sure, it's most likely enough for general usage and diehard Apple fans will buy that thing in droves and then spend countless hours debating it and justifying the buy, but as already stated by other commenters, there are many reasons to need more RAM and I suspect it will be a deal breaker for a lot of potential buyers, especially developers and designers. There are many things that benefit of more ram, large or complex ide's, virtual machines, game development, sound design, video editing, 3d rendering, and just plain old multitasking.

So, in my opinion, no, it's not reasonable for Software Engineering work unless you upgrade machines very frequently, and even then, I wouldn't really go for it, not only because of the RAM issue, but also the novelty of the entire system.

Depends very, very much on what kind of software you are building and what kind of local test/debug rig you need.
16GB is fine in my opinion. I have that amount with Microsoft Edge, VS Code, Microsoft Teams, and 20 Docker containers and it fits (Windows and WSL2).

However I need to be careful, For example I started using Tabnine recently and the memory usage per instance of vscode is way too high and I need to think about closing unused instances of vscode.

I'm considering to test Github Codespaces so I get a fast environment in the cloud. But the ram amount is only 8GB max and since it probably runs on Azure the IOs performances will likely be awful. But it may be great and then 16GB on a laptop to run many instances of Electron is a lot more than enough.

But if I were to buy a new laptop tomorrow, I would like to get at least 32GB and a touchscreen. So no MacBook pro for me.

I thought the 13" MacBook Pro only had an 8 GB option
No, there is also a 16. I ordered it.
The M1 version though not one of the Intel ones? If so can you shoot the order page, it's not listing on the apple site for me and I was interested in it. Thanks!
The first option you have to select is the storage option (256GB or 512GB). Click on either, you'll then be brought to a page where you can select other options (like memory).
It depends on your needs. For me, I want to be able to run multiple production-like environments, IDEs, profilers, browsers, Electron-based applications, etc. My old workstation had 16GiB, and it was a bit limiting. I had to sometimes close or shutdown programs to free up memory. My new workstation has 32GiB of memory, and so far that is enough.
Just get a Thinkpad and pimp it out with 32 gigs.
I'm thinking of getting the 8gb air version. But I am also the type of person that closes the docker desktop when I am not using it.
Depends on what you work with.. We develop some heavy server apps, only launching it takes over 8 gigs of memory, so combined with all other stuff that has to run, 16 is barely cutting it.
Leaving aside the arguments about whether you need more than 16GB, I'd seriously think about 'buyers regret' if you buy one now and Apple releases Apple Silicon Macs with more memory next year.

Also consider carefully whether the software you work on is fully compatible with Arm (e.g using x86 VMs).

If you can hold on for now I would do that and make a decision when you have more information.

Regardless of whether 16GB is enough or not, I'm always wary of the first release of any Apple hardware or operating system and would rather wait for a hardware revision or point release.
You build your Linux workstation at home to have static ip/domain and you ssh from your Apple product. VSCode have excellent support for this type of workflow.

For me 16Gb would not be enough. But it depends on type of work and your worflows (editor/tooling) you use.

Well I needed 32gb ram for a webpack watch for ~1mb minified code plus basic windows usage so I’d guess no.
This is the same question I’m pondering. I bough 2020 32gb MBP in October and it came last week and of course now the same one chip is available except 16 GB I will look at my memory usage today it looks like just with several chrome windows open dropbox zoom windows applications that’s about it 19 GB to 22 so I’m thinking as much as I’d like to get this 16 GB just isn’t enough. Apple is willing to let me in return the MacBook Pro and I could buy the new one but the memory I believe will be an issue.
If you can wait, wait for the later ones.
Funny That everybody is just talking about RAM and not the fact that the M1 has double the number of cores than the intel i7 also with higher performance. That makes the decision even more complicated