help-octave
[Top][All Lists]
Advanced

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

Re: error: memory exhausted or requested size too large for range of Oct


From: Przemek Klosowski
Subject: Re: error: memory exhausted or requested size too large for range of Octave's index type --
Date: Tue, 15 Mar 2011 14:22:59 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b2 Thunderbird/3.1.7

On 03/15/2011 01:05 PM, nuncio m wrote:
Hi list,
         Here is the code I am trying to do a PCA analysis

         filename='test_eof.txt';
         oufile='pc.txt';
         data=load(filename);
         data1=reshape(data,25200,132);
         data2=data1';
         f=detrend(data2,0);
         R=f'*f;

Your data seems to be of the size 132x25200, and you are essentially building an array 25200x25200, which would be 5GB in size. If that's what you really need, you have to get a 64-bit octave and enough physical memory to match.


reply via email to

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