help-octave
[Top][All Lists]
Advanced

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

Re: Out of memory problem


From: Joao Cardoso
Subject: Re: Out of memory problem
Date: Mon, 25 Oct 1999 14:29:23 +0100

Eric Aristidi wrote:

>  Hello,
>
>  While loading a big (2 Mb) data set with a fread command

this is not big. big is something that cant be fit in (virtual) memory :-)

an NxM array ocupies aprox. N*M*8 bytes of memory when loaded into Octave.
An 1000x1000 array will ocupy 8MB of memory, very manageable.

>
>
>    X=fread(file,naxis1.*naxis2.*naxis3,'float',0,'ieee-be');
>
> (naxis1=naxis2=256, naxis3=10) then working with these data and
> additionnal matrices of size 256x256, I had the following message :
>
>  error: memory exhausted -- trying to return to prompt
>
>  I work on a PII/400, 128 Mb RAM running Linux Redhat 6.0 and octave
>  2.0.14. Is there a way to extend the amount of available memory ?

No linux user, but: single user? swap space? memory available per user?

>
>
>  Thanks for help
>
> --
> Eric Aristidi
> Dpt Astrophysique - Universite de Nice, Parc Valrose, 06108 Nice Cedex 2
> mail   : address@hidden
> fax    : +33 4 92 07 63 21
> phone  : +33 4 92 07 63 45
> http://www-astro.unice.fr/PagePerso/aristidi/
>
> ---------------------------------------------------------------------
> Octave is freely available under the terms of the GNU GPL.  To ensure
> that development continues, see www.che.wisc.edu/octave/giftform.html
> Instructions for unsubscribing: www.che.wisc.edu/octave/archive.html
> ---------------------------------------------------------------------

--
Joao Cardoso                |   e-mail: address@hidden
INESC, R. Jose Falcao 110   |   tel:    + 351 2 2094322
4050 Porto, Portugal        |   fax:    + 351 2 2008487





---------------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.  To ensure
that development continues, see www.che.wisc.edu/octave/giftform.html
Instructions for unsubscribing: www.che.wisc.edu/octave/archive.html
---------------------------------------------------------------------



reply via email to

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