----- Original Message -----
From: Dmitri A. Sergatskov
To: dkeck
Cc: Octave users list
Date: 2014/6/27, Fri 09:52
Subject: Re: out of memory or dimension too large for Octave's index type
On Thu, Jun 26, 2014 at 7:00 PM, dkeck <address@hidden> wrote:
I simply assumed that there might be a copy of 'A' somewhere in the
background. A naive approach is:
>> A1=ones(5280,4608);
>> A2=ones(5280,4608);
error: out of memory or dimension too large for Octave's index type
Which already brings up the error. Yet I can't say what causes this.
Memory
fragmentation.
Dmitri.
**************************************************************
Windows 7 64bit 4GB RAM, octave-3.8.1-4.
octave:1> A1=ones(5280,4608);
octave:2> A2=ones(5280,4608);
octave:3> A3=ones(5280,4608);
octave:4> A4=ones(5280,4608);
octave:5> A5=ones(5280,4608);
octave:6> A6=ones(5280,4608);
octave:7> A7=ones(5280,4608);
octave:8> A8=ones(5280,4608);
error: out of memory or dimension too large for Octave's index type
Perhaps the phenomena depends also on OS.
Tatsuro