help-octave
[Top][All Lists]
Advanced

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

Re: empirical_inv() out of memory


From: Dmitri A. Sergatskov
Subject: Re: empirical_inv() out of memory
Date: Fri, 23 Jan 2004 14:30:26 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040115

Glenn Golden wrote:
Running 2.1.50: Is the following a reasonable out-of-memory situation?

    1>   f = 1 - 10 .** [-1:-1/3:-6];
    2>   g = abs(rand(4e6,1)) .** 2;
    3>   empirical_inv (f, g)
    error: memory exhausted -- trying to return to prompt

I run it on my computer while watching 'top' in other terminal.
It went through, but octave process size at its maximum was 1201MB.

octave:4> empirical_inv (f,g)
ans =

 Columns 1 through 8:

  0.80973  0.90918  0.95752  0.98002  0.99069  0.99565  0.99796  0.99907

 Columns 9 through 16:

  0.99957  0.99981  0.99991  0.99996  0.99998  0.99999  1.00000  1.00000

Regards,

Dmitri.



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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