how I change the setting of matlab?

2 views (last 30 days)
huda nawaf
huda nawaf on 13 Feb 2013
hello, I installed matlab in computer with 6 GigaB of Ram , but when I run my code I got error message, OUT OF MEMORY. I ran the same code in computer with 4 GigaB of Ram, I don't know where is the problem.
must change the setting of MATLAB? if so, how?
Thanks in advance

Answers (3)

Jason Ross
Jason Ross on 13 Feb 2013
Edited: Jason Ross on 13 Feb 2013
Just to be sure -- is the machine with 6 GB RAM a 64-bit operating system? Did you install a 64-bit MATLAB?
(It's possible that a 32-bit system can see more than ~4 GB RAM with PAE on, although generally the maximum RAM limit for a process remains the same)
The general answer is that there is not a setting in MATLAB that limits the amount of RAM that is able to be addressed.

Jan
Jan on 13 Feb 2013
Obviously your 4GB machine has more available memory than the 6GB machine. Either the 6GB machine runs a 32 bit system, while the smaller one runs 64 bit, or on the larger machine other programs occupy more memory, or the smaller machine uses more virtual memory, etc. But as long as the same Matlab version is installed on both machines, this is not a problem of Matlab.

Walter Roberson
Walter Roberson on 13 Feb 2013
Huda, you are using the Student Version of MATLAB if I recall. If so then you are limited to the 32 bit version under MS Windows and under Linux (but I think the OS-X student version is 64 bit.)
  2 Comments
huda nawaf
huda nawaf on 15 Feb 2013
thanks for notes, I checked my machine, the reason is the 32 bit of windows , not 64 bit. when I installed 64 bit , the problem is resolved.
thanks
José-Luis
José-Luis on 15 Feb 2013
Please accept an answer if it helped you.

Sign in to comment.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!