help-octave
[Top][All Lists]
Advanced

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

Re: memory exhaustive error


From: tharaka weheragoda
Subject: Re: memory exhaustive error
Date: Fri, 17 Aug 2012 08:06:58 +0530

Thank you very much for instructions..

On Thu, Aug 16, 2012 at 5:15 PM, Carnë Draug <address@hidden> wrote:
On 16 August 2012 09:08, Martin Helm <address@hidden> wrote:
> Am 16.08.2012 09:24, schrieb Laurent Hoeltgen:
>
>> Hi, Unless you really need a full matrix of that size (which I doubt), I
>> would suggest to try it with sparse matrices. On my Debian Box with octave
>> 3.2.4, I get the following: ones(25000,25000) -> fails, out of memory (as
>> expected) sparse(25000,25000) -> works like a charm. so, if you have to deal
>> with large matrices that only contain few non-zero entries, use the sparse
>> matrix type. It avoids all the hassle of compiling octave with 64bit
>> indexing. Regards, Laurent
>
>
> Just again for the files:
>
> There is absolutely no need at all to compile octave with --enable-64 on any
> 64bit linux system just to be able to work with a matrix which contains 625
> million values (provided enough memory is available).
> Just the octave needs to be new enough (3.4 or higher if my memories are
> right).
>
> For ubuntu there seems to be a ppa to install 3.6 and that will solve that.
> http://wiki.octave.org/Octave_for_GNU/Linux#Ubuntu
>
> Of course I also suspect that a sparse matrix would do the job as well.

As Martin pointed out, there are these Ubuntu pre-compiled binaries.
Just use those PPA. If you wish to compile from source yourself, you
can follow this instructions that are Debian specific
http://wiki.octave.org/Debian

Carnë


reply via email to

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