help-octave
[Top][All Lists]
Advanced

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

Re: memory exhaustive error


From: Laurent Hoeltgen
Subject: Re: memory exhaustive error
Date: Thu, 16 Aug 2012 05:28:08 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120714 Thunderbird/14.0

On 08/16/2012 05:01 AM, tharaka weheragoda wrote:
> Hi All,
>  I'm new to octave.I have already installed a 64 bit version of ubuntu
> 11.10 and i have a 6 GB RAM in my machine. When i'm creating a 25000*25000
> matrix in octave i'm getting this error.
> 
> error: memory exhausted or requested size too large for range of Octave's
> index type -- trying to return to prompt
> 
> I googled and found out that i have to configure octave with --enable- 64
> in order to use 64 bit integers as array dimensions. I have already
> installed octave.So how can i do it? Do i need to reinstall octave ?
> 
> Can anybody please guide me the steps.
> 
> Thanks in advance!
> Tharaka
> 
> 
> 
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://mailman.cae.wisc.edu/listinfo/help-octave
> 

Hi,

If I'm not mistaken (it's 5 o'clock in the morning, I'm not completely
awake yet)... then such a matrix would need about 4.6GB of memory. Could
it be, that you just run out of memory as the error message suggests? If
the meatrix contains many 0s, try using sparse matrices.

Regards,
Laurent


reply via email to

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