Increase Memory Available for MATLAB
2 views (last 30 days)
Show older comments
I need more memory in MATLAB. Do you know how I can increase Memory Available for MATLAB. I'm using Windows XP x32 with Matlab R2010b. Thank you in advance.
0 Comments
Answers (3)
Sean de Wolski
on 3 Mar 2011
The easy way would be to buy a new computer with 64bit OS and 64bit MATLAB.
2 Comments
Jan
on 4 Mar 2011
This is the most powerful solution. While the other tricks can increase the memory up to about 3GB, the 64 bit version can process 8TB in theory. Voted +1.
Kaustubha Govind
on 3 Mar 2011
2 Comments
Jan
on 4 Mar 2011
Then look at the sections "Disabling Java VM on Startup", "Increasing System Swap Space", "Using the 3GB Switch on Windows Systems", "Freeing Up System Resources on Windows Systems".
Jan
on 3 Mar 2011
Try to reduce the memory needs of your programs.
- Use smaller integer types for index vectors.
- Store numerical values in SINGLE precision, if this is accurate enough.
- Pre-allocate ever. Never let an array grow.
- Pre-allocate absolutely really ever carefully.
- Reduce the number of open figures.
- Install as much RAM as possible.
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!