help-octave
[Top][All Lists]
Advanced

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

Re: Saving to a file bigger than 4 GB?


From: Przemek Klosowski
Subject: Re: Saving to a file bigger than 4 GB?
Date: Tue, 28 Aug 2012 16:05:30 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1

On 08/28/2012 11:37 AM, vilsu wrote:
And if I remember correcty, the message Octave gave me was about "Octave was
unable to save to file".

Well, that's what it would say, whether it is an OS limitation or not. I just tried the following on Octave 3.6.2 / 64-bit Fedora 17:

a=rand(512,512);
for i=1:4196;
save -text -append a.txt a
end

and it writes a 5GB file just fine

-rw-rw-r--. 1 przemek przemek 5.4G Aug 28 15:59 a.txt

(I aborted it before it finished).

You didn't say how you write your file. Perhaps try what I did above and report how it went---perhaps there's some Windows runtime limit Octave runs into.


reply via email to

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