|
From: | Dan Sebald |
Subject: | [Octave-bug-tracker] [bug #50603] save -mat fails for large (# of bytes) variables |
Date: | Tue, 21 Mar 2017 14:19:47 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 |
Follow-up Comment #1, bug #50603 (project octave): 944*944*437 * 8 bytes/double = 3.1 G which is near the boundary of 32 bit memory space. Are you running a 32-bit build of Octave? Or a 64-bit build of Octave? I'm using 64-bit build on a 64-bit version of Linux (otherwise, even the operating system wouldn't access but 4G of memory) and things seem to work fine (uses barely any CPU while the disk churns away): octave:2> 2^32 ans = 4.2950e+09 octave:3> x = ones([944 944 437]); octave:5> 944*944*437 * 8 ans = 3.1154e+09 octave:6> save -mat "junk.mat" octave:7> clear octave:8> load "junk.mat" octave:9> size(x) ans = 944 944 437 $ ls -l junk.mat -rw-r--r-- 1 sebald sebald 3115411712 Mar 21 13:12 junk.mat _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?50603> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |