help-octave
[Top][All Lists]
Advanced

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

Re: largest variable that can be created in octave?


From: Jordi Gutiérrez Hermoso
Subject: Re: largest variable that can be created in octave?
Date: Sat, 21 Jun 2008 09:41:27 -0500

On 19/06/2008, George Dahl <address@hidden> wrote:
> What is the largest single variable one can create in octave?  Is the only
> limitation physical RAM and address space?

Memory segmentation can also be a limiting factor.

> octave-3.0.1:1> x = rand(1000,800,800);
> error: memory exhausted or requested size too large for range of Octave's
> index type -- trying to return to prompt
>
> How can I get larger variables?

My guess is that since your variable is about 5 gigs, you need 64 bit
ints to index it. Did you compile Octave with the experimental 64bit
indexing enabled?

- Jordi G. H.


reply via email to

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