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: MAT file takes forever to save with big object array
Replies: 6   Last Post: Dec 6, 2012 2:34 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Walter Roberson

Posts: 7,678
Registered: 1/20/06
Re: MAT file takes forever to save with big object array
Posted: Dec 21, 2010 12:17 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 21/12/10 3:34 AM, Alexey wrote:

>> save backtesting/files/technical-obj

> To save this variable, use the -v7.3 switch.

>> save -v7.3 backtesting/files/technical-obj
> I do not get an error but it takes about 4 hours to save the file and
> its size is 1.5gb.

> I will have a look at reducing the size of the structure but does anyone
> have any suggestions as to what is the best way to save the results like
> this?

You didn't have to start a new thread; you could just have replied to
the old thread that indeed you were using objects .

As you are using objects, then you need to discuss with the
administrators of the HPC site how to save the file on a drive that is
local to the CPU you are using rather than being on a networked file system.

There has been no information from Mathworks posted on this forum as to
_why_ the -v7.3 format can be as slow as it is, but there have been
enough reports from users that we know that this is a fact of life for
some kinds of data on some systems, at least up to 2010a. (People
haven't happened to discuss it for 2010b.)

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.