|
From: | Mike Miller |
Subject: | [Octave-bug-tracker] [bug #38326] save -binary or load fails with big matrices |
Date: | Fri, 15 Feb 2013 04:17:18 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.70 Safari/537.17 |
Update of bug #38326 (project octave): Status: None => Confirmed _______________________________________________________ Follow-up Comment #1: The binary file appears to be truncated at around 2 GB. If compression is used, I get a smaller file on disk but still truncated at the same number of elements. octave:16> save -binary A A octave:17> save -binary -z A.gz A octave:18> ls -lh A* -rw-r----- 1 mike mike 2.0G Feb 14 23:08 A -rw-r----- 1 mike mike 3.0M Feb 14 23:08 A.gz Also, after clearing and loading the resulting file: octave:19> numel (A) ans = 800000000 octave:20> sum (A == 1) ans = 263129088 octave:21> all (A(1:263129088) == 1) ans = 1 octave:22> all (A(263129089:end) == 0) ans = 1 _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?38326> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |