[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: memory exhaustive error
From: |
Carnë Draug |
Subject: |
Re: memory exhaustive error |
Date: |
Thu, 16 Aug 2012 12:45:56 +0100 |
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ë
- memory exhaustive error, tharaka weheragoda, 2012/08/15
- Re: memory exhaustive error, Laurent Hoeltgen, 2012/08/15
- Re: memory exhaustive error, Martin Helm, 2012/08/16
- Message not available
- Message not available
- Re: memory exhaustive error, Martin Helm, 2012/08/16
- Re: memory exhaustive error, Laurent Hoeltgen, 2012/08/16
- Re: memory exhaustive error, Martin Helm, 2012/08/16
- Re: memory exhaustive error,
Carnë Draug <=
- Re: memory exhaustive error, tharaka weheragoda, 2012/08/16
Re: memory exhaustive error, haifa guan, 2012/08/16