From bug-request at octave dot org Tue Jan 18 15:10:00 2005 Subject: Re: Serious memory leak in octave (this may be a duplicate bug report) From: Per Persson To: Dan Nessett Cc: John Eaton , bug@octave.org Date: Tue, 18 Jan 2005 22:13:38 +0100 Not reproducible on Mac OS X 10.3.7 with octave 2.1.64. Dan, fink has 2.1.64 in the unstable branch, see=20 http://fink.sourceforge.net/pdb/package.php/octave. Ah, I just noticed that you run 10.2, the latest version of octave for=20= 10.2 is 2.1.50 (in the unstable branch). Could you test if that version=20= solves your problem? /Per On Jan 14, 2005, at 22:13, Dan Nessett wrote: > This may be a duplicate bug report. I got tangled up in emacs using > bug_report and I don=99=92t know if it sent the email. > > When I attempt to display a vector of 800,000 elements, octave starts > gobbling up virtual memory. The sequence of commands is: > > p=3Dlinspace(1,80000,800000)=99=92; > p > > This is a test sequence. I discovered the bug when using plot() to=20 > plot two > 800,000 vectors against each other. > > As you can see from the printout of =99=93top=99=94 below, octave = consumes=20 > about 19 > 1/2 minutes of cpu time processing this set of commands and its = virtual > space grows to 2.53 Gbytes. The printout from top is just after octave > finishes the second command. This is on a 1.42GHz dual-processor G4=20 > Mac with > 1 Gbytes of memory running Mac OS X 10.2. > > PID COMMAND %CPU TIME #TH #PRTS #MREGS RPRVT RSHRD RSIZE =20= > VSIZE > 395 iTerm 7.9% 1:03.22 7 125 154 3.21M 2.66M+ 4.18M+ > 120M+ > 494 octave-2.1 3.8% 19:41.52 1 11 9965 884M+ 3.18M+ 127M- > 2.53G+ ------------------------------------------------------------- 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 -------------------------------------------------------------