How do I increase the amount of memory used by MATLAB?
Show older comments
In one of my application when I tried to compute the PCA using princomp I received an "Out of memory" error. How can I rectify this problem?
Answers (5)
Paulo Silva
on 1 Jul 2011
memory
Execute that command and read what MATLAB says.
Krishna Kumar
on 1 Jul 2011
1 vote
go to start menu(assuming windows), right click on my computer, go to properties, go to advanced tab, click performance options and go to virtual memory section and change paging file size.
you can also use 'pack' command. refer its doc for details.
Jerry archamabult
on 21 Jun 2018
1 vote
these answers are useless
1 Comment
Steven Lord
on 21 Jun 2018
The original question didn't have a lot of details that would allow the posters to offer more detailed suggestions. If you're running into a problem where you're running out of memory, I recommend posting it as a new question (with as much detail as you can) and you may receive more specific guidance or suggestions.
Jason Ross
on 1 Jul 2011
0 votes
With RAM running about $10/GB, you can buy your way out of this problem for a small amount of money (assuming your system can take the additional RAM and that you are running a 64-bit OS)
Walter Roberson
on 21 Jun 2018
0 votes
If you are using 32 bit MATLAB on 32 bit Windows, then make sure you have enabled the boot-time /3G flag of your operating system. https://support.microsoft.com/en-ca/help/833721/available-switch-options-for-the-windows-xp-and-the-windows-server-200
Note: R2015b was the last MATLAB version for 32 bit Windows.
Categories
Find more on Matrix Indexing 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!