help-octave
[Top][All Lists]
Advanced

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

Re: Memory exaustion or size too large for index


From: Jaroslav Hajek
Subject: Re: Memory exaustion or size too large for index
Date: Thu, 25 Feb 2010 13:28:30 +0100

On Thu, Feb 25, 2010 at 12:28 PM, Carlo de Falco
<address@hidden> wrote:
>
> On 25 Feb 2010, at 11:47, Jaroslav Hajek wrote:
>
>> In 3.2.x with 32-bit indexing, the limit is 2GB of memory per array.
>> The development version has this fixed and the limit is 2^31 elements
>> per array (so it's 16GB for double real matrix).
>
> mmmhh... you mean the limit is 16GB even if octave is compiled without
> --enable-64 ?
> with the current development sources (pulled yesterday) indeed
>
>>> version
> ans = 3.3.50+
>>> a=zeros (1024, 1024, 1024);
>
> does not give a "memory exhausted" error but
>
>>> a(1,1,1)
> ans = -2.0000
>
> and
>
>>> whos a
> Variables in the current scope:
>
>  Attr Name        Size                     Bytes  Class
>  ==== ====        ====                     =====  =====
>       a        1024x1024x1024                  0  double
>
> Total is 1073741824 elements using 0 bytes
>
> I've built octave on MacOS X 10.5 using gcc 4.2.1 and gfortran 4.2.3
> c.
>

Please try to pull
http://hg.savannah.gnu.org/hgweb/octave/rev/72fab01e5d68
and rebuild...



-- 
RNDr. Jaroslav Hajek, PhD
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz



reply via email to

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