For programming specifically, is it worth upgrading RAM?

Title is self explanatory. Specific specs for this question are as follows, M2Pro/Max 14 inch. I am currently looking at a 12/19 core, 1TB, 16gb model. Is it worth upgrading the RAM to 32gb? How about upgrading to an M2 Max. I’m a university student but making enough money to justify the fee extra hundred spent if it will make a difference. I want to get into AI and/or game development with C++. I won’t be doing much gaming, so the extra GPU cores honestly don’t even matter to me, it would mainly be for the memory bandwidth and other benefits of the M2 Max. If you give an answer please give me specific reasons as to why you gave the answer. And the reason I’m even considering an upgrade is because I used the machine I’m going to buy (12/19 core stated earlier) and I had problems with the RAM. When I tried coding only it worked fine. As soon as I got my workflow going(multiple instances of either Clion or Pycharm, multiple safari windows with 5-10 tabs each, notes, iMessage, and a few miscellaneous apps running in the background to help my user experience), it started using 2-15 GB of swap. Now I didn’t notice any performance drops until it got to over 10GB of swap used, and I’m wondering if getting 32GB and/or an M2 Max would fix this issue, or if I should even really worry about the issue?

MacBook Pro (M2 Pro, 2023)

Posted on Jul 4, 2023 11:33 PM

Reply
Question marked as Top-ranking reply

Posted on Jul 5, 2023 4:14 AM

Hello RobertKharma,


I would definitely recommend more RAM if you're going to be doing Game Development and AI / Machine Learning programming. Both of these are very computational heavy and if you're going to use an outside IDE like Pycharm and have "multiple safari windows with 5-10 tabs each, notes, iMessage, and a few miscellaneous apps running in the background to help my user experience," you're going to want more RAM.


I'm still on my M1 Max with 32GB of RAM. I do iOS development with Xcode and do have a few Docker containers for other projects and have run into no issues. I'm sure you'll be satisfied with the M2 Max and 32GB of RAM. I don't do AI and Machine Learning, but you might even want more than 32GB if you're getting into this... I've never done it besides one assignment in college, but the more RAM and other resources you can provide the faster your computations will be.


Ultimately up to you but from the description you provided, I wouldn't cheap out on parts (go M2 Max & 32GB minimum). Assuming you take care of your MacBook, I've seen them last roughly eight to ten years at least.

2 replies
Question marked as Top-ranking reply

Jul 5, 2023 4:14 AM in response to RobertKharma

Hello RobertKharma,


I would definitely recommend more RAM if you're going to be doing Game Development and AI / Machine Learning programming. Both of these are very computational heavy and if you're going to use an outside IDE like Pycharm and have "multiple safari windows with 5-10 tabs each, notes, iMessage, and a few miscellaneous apps running in the background to help my user experience," you're going to want more RAM.


I'm still on my M1 Max with 32GB of RAM. I do iOS development with Xcode and do have a few Docker containers for other projects and have run into no issues. I'm sure you'll be satisfied with the M2 Max and 32GB of RAM. I don't do AI and Machine Learning, but you might even want more than 32GB if you're getting into this... I've never done it besides one assignment in college, but the more RAM and other resources you can provide the faster your computations will be.


Ultimately up to you but from the description you provided, I wouldn't cheap out on parts (go M2 Max & 32GB minimum). Assuming you take care of your MacBook, I've seen them last roughly eight to ten years at least.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

For programming specifically, is it worth upgrading RAM?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.