multiplication gives error :out of memory

i have a data x of size 8640 X 183. having values like 0.1326(four values after decimal)
i want to do operation x*x'. but it gives me error that
  • _ * * ??? Out of memory. Type HELP MEMORY for your options. | | * * _ *

4 Comments

The 8640x8640 matrix that you are trying to build requires about 600MB of RAM (contiguous), which should not be an issue on a 64bits system.
What system are you using? Run the command
memory
to see what the maximum array size is (contiguous memory).
I have a 32 bits system, I have the same error
Well, cmd memory should indicate that you have less than 600MB of contiguous memory available for storing arrays.
I withdraw my previous comment, when I tested a'*a , memory used by Matlab was already occupied,

Sign in to comment.

Answers (1)

Jan
Jan on 17 Oct 2013
It is recommended to search in the forum before asking a new question. You can do this by typing "Out of memory" into the field "Search MATLAB Answers" or e.g. by: http://www.mathworks.com/matlabcentral/answers/?term=Out+of+memory
You will find the same answers posted multiple times, e.g.: http://www.mathworks.com/matlabcentral/answers/60208#answer_72740

Asked:

on 17 Oct 2013

Commented:

on 17 Oct 2013

Community Treasure Hunt

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

Start Hunting!