Does it help to have more than 16 gb of memory?
40 views (last 30 days)
Show older comments
I am buying a computer and I wonder if it makes sense to purchase extra memory. I do a lot of number crunchng on sound waves sampled at 44 kHz and my last two computers had at least 32 gB of memory. So, is there a benefit to having lots of memory when using Matlab?
Thanks.
Dave
4 Comments
Dave B
on 14 Nov 2021
I thought it might be worth adding a few things about platform:
- If it's a PC, you can likely upgrade after the fact (installing ram is pretty easy even if you've never done that kind of thing before, so long as you can be very careful and follow instructions). If it's a mac, particularly a new M1 Mac, it will be extremely difficult (I think currently impossible on the M1). On the other hand, the M1 macs are super speedy!
- In my experience linux does way better with memory than Windows. If you want a MATLAB variable that consumes 13gb, and you have 12 available, windows will come to a grinding halt...but linux happily moves to using hard disk without you having to notice. Not sure how Mac handles that, but I suspect more like linux? Some of that may have changed in recent years...but my instinct is it's generally more useful to have more memory on Windows.
Answers (1)
Image Analyst
on 15 Nov 2021
In general the more the better. I'm not sure how long your audio files are but probably 32 GB is plenty. I have 32 GB and deal with images, which are usually way bigger than audio files and that's fine for me in most situations. Just booting and running Outlook, Firefox, MATLAB will usually take up about 14 GB or so, so 16 GB would not be enough, but 32 GB seems to be okay. I rarely, if ever, get close to 32 GB being used, even with lots of images open. If your audio files really long (gigabytes worth) then you might see if you can get more than 32 GB if you can afford it.
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!