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

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

[Octave-bug-tracker] [bug #55427] save -v7 exits with "error compressing


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #55427] save -v7 exits with "error compressing data element"
Date: Wed, 9 Jan 2019 07:57:57 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0 SeaMonkey/2.48

URL:
  <https://savannah.gnu.org/bugs/?55427>

                 Summary: save -v7 exits with "error compressing data element"
                 Project: GNU Octave
            Submitted by: philipnienhuis
            Submitted on: Wed 09 Jan 2019 01:57:54 PM CET
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error
                  Status: None
             Assigned to: None
         Originator Name: Philip Nienhuis
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 5.0.1
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

"save -v7" isn't able to write data to file if the data is larger than in the
order of ~100-150 Mbytes (according to "whos").
As the data question (here a 1x1 struct) contain nested structs, struct arrays
and small cellstr arrays and double arrays it may be a bit larger than "whos"
reports.

"save -v6" goes fine; the size of the .mat-file on disk more or less equals
the size reported by "whos" (e.g., 

Attr Name Size     Bytes  Class 
==== ==== ====     =====  ===== 
     D    1x1  584238640  struct


... leads to a file of 574,963 KB.

Needless to say Matlab happliy runs the same code fine and creates fairly big
.mat-files w/o issue; the above struct becomes a 127 MB file.

According to the Matlab docs the difference between -v6 and -v7 is merely data
compression and Unicode support.

Octave has no issues reading a big mat-file created by Matlab with -v7 option;
it is specifically writing to file that goes wrong.

If required I can upload the .mat file somewhere.





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55427>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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