octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #50603] save -mat fails for large (# of bytes)


From: Rik
Subject: [Octave-bug-tracker] [bug #50603] save -mat fails for large (# of bytes) variables
Date: Wed, 22 Mar 2017 02:03:05 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #2, bug #50603 (project octave):

Have a look at Matlab's own documentation
(https://www.mathworks.com/help/matlab/ref/save.html).

They have a chart with the limits of each format.  The '-v6' option, which is
what Octave defaults to for '-mat', is limited to 2^31 bytes per variable.

At least on 64-bit Linux, I am able to write in -v6 format (3.1G) and -v7
format (4.4M).

As a workaround, you might try saving in -v7 format.  It is much slower,
because it does compression, but the eventual size of the element to save is
pretty small.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?50603>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]