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: anonymous
Subject: [Octave-bug-tracker] [bug #50603] save -mat fails for large (# of bytes) variables
Date: Tue, 21 Mar 2017 13:09:58 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0 Safari/537.36 Edge/13.10586

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

                 Summary: save -mat fails for large (# of bytes) variables
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Tue 21 Mar 2017 05:09:56 PM UTC
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: David Nichols
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.1
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

Trying to save a large variable to a file produces an incorrect result.  For
instance, the commands below produce a small (192 byte) file which does not
load correctly.  (The same thing occurs with actual data, so it's not that
save is smart and tries to compress things.) Note that the data object in
question is larger than 2^31 bytes.



>> x=ones([944 944 437]);
>> save -mat "junk.mat"
>> clear
>> load "junk.mat"
error: load: reading matrix data for 'x'
 





    _______________________________________________________

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]