Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
|
|
Re: out of memory
Posted:
Jul 1, 2011 4:13 PM
|
|
Dear Steven,
Thanks a lot for your kind help.
However, this code has run successfully on another computer so I am wondering it might not because MATLAB can't deal with such a large block....
So I am wondering is it possible that I could physically increase the
Memory used by MATLAB ???????????
Thanks a lot in advance
"Steven_Lord" <slord@mathworks.com> wrote in message <iuku8h$6sd$1@newscl01ah.mathworks.com>... > > > "Skirt Zhang" <silence_qunzi@hotmail.com> wrote in message > news:iuknea$fps$1@newscl01ah.mathworks.com... > > The data I am reading by block is about 1.2GB, the block size is about > > [1 6 30000000 4] > > Reduce the size of your block and/or free up some memory. > > A matrix of real doubles of that size would require: > > >> numElementsInBlock = 1*6*30000000*4; > >> memoryRequired = 8*numElementsInBlock; > >> memoryGB = memoryRequired/(1024^3) > > memoryGB = > > 5.36441802978516 > > a contiguous block of memory over 5 GB in size. You don't have that > available. > > -- > Steve Lord > slord@mathworks.com > To contact Technical Support use the Contact Us link on > http://www.mathworks.com
|
|
|
|