MATLAB: MATLAB “Out of memory” problem

memory

Hello,
I want to create a large matrix, for example:
zeros(65536, 65536)
Matlab responds:
??? Error using ==> zeros
Out of memory. Type HELP MEMORY for your options.
How can I increase memory for Matlab use? I am on linux machine.

Best Answer

Try the key Technical Notes 1106 and 1107 for that.
Besides looking at increasing the memory use and decreasing the memory used, please always ask yourself the question "do I really need this amount of data to solve my scientific question?"