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

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

[Octave-bug-tracker] [bug #63803] Saving causes OOM, crash, and loss of


From: Dmitri A. Sergatskov
Subject: [Octave-bug-tracker] [bug #63803] Saving causes OOM, crash, and loss of already saved data
Date: Wed, 15 Feb 2023 20:35:01 -0500 (EST)

Follow-up Comment #21, bug #63803 (project octave):

I did:


octave:1> load "データ.bin" 
octave:2> whos
Variables visible from the current scope:

variables in scope: top scope

  Attr   Name        Size                     Bytes  Class
  ====   ====        ====                     =====  ===== 
         a       10000x10000              800000000  double
         b       10000x10000              800000000  double
         c       50000x50000            20000000000  double

Total is 2700000000 elements using 21600000000 bytes

octave:3> d = zeros(5e4);
octave:4> save -binary  "データ.bin" a b c d
Killed
(I killed -9 it manually)

$ ./run-octave 
GNU Octave, version 9.0.0

octave:1> load "データ.bin" 
octave:2> whos
Variables visible from the current scope:

variables in scope: top scope

  Attr   Name        Size                     Bytes  Class
  ====   ====        ====                     =====  ===== 
         a       10000x10000              800000000  double
         b       10000x10000              800000000  double
         c       50000x50000            20000000000  double

Total is 2700000000 elements using 21600000000 bytes

octave:3> 


So, success?

Note it did require quotes around "データ.bin" otherwise I get an
error:


octave:6> load データ.bin
error: load: unable to find file .bin


(Works w/o quotes for a file with ascii name.)
Not sure if this is another, non-related, bug.


Dmitri.
-- 



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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