help-octave
[Top][All Lists]
Advanced

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

Re: Loading a 318 MB matrix into Octave 32 bit


From: marco atzeri
Subject: Re: Loading a 318 MB matrix into Octave 32 bit
Date: Mon, 29 Jul 2013 13:32:05 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7

Il 7/29/2013 8:43 AM, c. ha scritto:

On 29 Jul 2013, at 02:21, Elliot Gorokhovsky <address@hidden> wrote:

I am running 32 bit octave on a 64 bit system (I would really like to keep it 
that way if possible) and I have a .mat with a double matrix size 5492743 by 3. 
Octave says it takes 131,825,832 bytes. When I run the following script (with 
num=140000) I get, immediately[, error: memory exhausted or requested size too 
large for range of Octave's index type -- trying to return to prompt.


a = randn (5492743, 3);
save -binary -z pippo.octbin.gz a
clear all
load pippo.octbin.gz
whos a
Variables in the current scope:

    Attr Name         Size                     Bytes  Class
    ==== ====         ====                     =====  =====
         a      5492743x3                  131825832  double

Total is 16478229 elements using 131825832 bytes


same on octave 3.6.4 on cygwin 32 bit

Marco



reply via email to

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