The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: out of memory
Replies: 8   Last Post: Jul 1, 2011 6:47 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Skirt Zhang

Posts: 7
Registered: 6/6/11
Re: out of memory
Posted: Jul 1, 2011 4:13 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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" <> wrote in message <iuku8h$6sd$>...
> "Skirt Zhang" <> wrote in message
> news:iuknea$fps$

> > 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
> To contact Technical Support use the Contact Us link on

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.