help-octave
[Top][All Lists]
Advanced

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

memory leak with randn()?


From: Shengchao Li
Subject: memory leak with randn()?
Date: Thu, 15 Mar 2001 23:24:24 -0500 (EST)

I ran into memory problem when I run my simulation code in octave. I
finally traced the problem into randn() function. It seems that there is
some kind of memory leak. Each time I run the following program,
a=0;
for counter=1:100000
  a=randn();
end

'top' shows that the size of octave keeps growing. I have reported the bug
to bug-octave but it is not shown there so I guess it is somehow lost. I
glanced other bug reports and I have to point out that I didn't use ^C to
interrupt the executing but the size kept growing. Any work-around
suggestion??

I am running 2.0.16 that came with RedHat7.0. I didn't rebuild it.

shengchao




-------------------------------------------------------------
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]