From help-octave-request at bevo dot che dot wisc dot edu Fri Jan 23 15:31:31 2004 Subject: Re: empirical_inv() out of memory From: "Dmitri A. Sergatskov" To: gdg at zplane dot com Cc: help-octave at bevo dot che dot wisc dot edu Date: Fri, 23 Jan 2004 14:30:26 -0700 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 -------------------------------------------------------------