[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Memory leak with octave cygwin DLD calls
From: |
Andy Adler |
Subject: |
Memory leak with octave cygwin DLD calls |
Date: |
Sat, 23 Apr 2005 22:57:02 -0400 (EDT) |
Hello,
I've been trying to debug a memory leak problem with
cyginw octave. It's been there since at least 2.1.60 and
is still in 2.9.2. I've now simplified it to this:
Using a simple DLD function like
$ cat zno.cpp
#include <octave/oct.h>
DEFUN_DLD (zno, args, , " " ) {
octave_value retval= 0.0;
return retval;
}
call octave like this
echo 'for i=1:1e8; x=zno ;end' | octave -qfH
and watch the process monitor size for octave climb.
I calculate about 16 bytes leak per function call.
This also happens with builtin functions
echo 'for i=1:1e8; x=sort(1) ;end' | octave -qfH
If octave is compiled statically, there is no memory
leak.
I'm not sure where to look to debug this.
--
Andy Adler
- Memory leak with octave cygwin DLD calls,
Andy Adler <=
- Memory leak with octave cygwin DLD calls, John W. Eaton, 2005/04/26
- Re: Memory leak with octave cygwin DLD calls, Andy Adler, 2005/04/26
- Re: Memory leak with octave cygwin DLD calls, Dmitri A. Sergatskov, 2005/04/26
- Re: Memory leak with octave cygwin DLD calls, John W. Eaton, 2005/04/27
- Re: Memory leak with octave cygwin DLD calls, Dmitri A. Sergatskov, 2005/04/27
- Re: Memory leak with octave cygwin DLD calls, Dmitri A. Sergatskov, 2005/04/27
- Re: Memory leak with octave cygwin DLD calls, John W. Eaton, 2005/04/27
- Re: Memory leak with octave cygwin DLD calls, Dmitri A. Sergatskov, 2005/04/27