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
No products are associated with this question.
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.
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.
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.)