Matlab out of memory error with large arrays

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
7 replies · 4K views
Science Advisor
Gold Member
Messages
1,433
Reaction score
7
I'm furious with Matlab. when I reach a 1*10.000 array or similar figures it says to me: "out of memory". Does anybody know how I can do larger the virtual memory dedicated to this programe?. I have a 40 GB and 500Mb RAM computer, so it would be enough for eating anything!.
 
Physics news on Phys.org
Are you using the student version?
 
There is a limiter on array sizes in the student version of Matlab.

You may be able to do a work-around by splitting it into two or more vectors and using if...else statements to determine which one to work with.

Not optimal, for sure, but you are paying 1/30th the price.
 
Thanks for helping. Your solution seems like given birth by an engineer, so practical... :smile:
 
Clausius2 said:
Thanks for helping. Your solution seems like given birth by an engineer, so practical... :smile:

Hrmm... I don't know if that was a jab or not... :rolleyes: :biggrin:
 
:smile: :approve: ;

It was not a malicious jab at all. It was an affectionate upper cut.

:wink: :zzz:
 
enigma said:
Are you using the student version?

NO MORE! NO MORE!

Now I haVE the professional version:



I'VE GOT THE POWER!



HA HA HA AHAHAHAHA... :biggrin: :rolleyes: :-p :smile: :bugeye: :smile: