|
From: | Dmitri A. Sergatskov |
Subject: | Re: out of memory or dimension too large for Octave's index type |
Date: | Fri, 27 Jun 2014 09:45:27 -0500 |
----- Original Message -----From: Dmitri A. SergatskovTo: dkeckCc: Octave users listDate: 2014/6/27, Fri 09:52Subject: Re: out of memory or dimension too large for Octave's index typeOn 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 thebackground. A naive approach is:>> A1=ones(5280,4608);>> A2=ones(5280,4608);error: out of memory or dimension too large for Octave's index typeWhich 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 typePerhaps the phenomena depends also on OS.
Tatsuro
[Prev in Thread] | Current Thread | [Next in Thread] |