octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #40233] Memory leak in oct-shlib


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #40233] Memory leak in oct-shlib
Date: Thu, 10 Oct 2013 20:57:43 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130810 Firefox/17.0 Iceweasel/17.0.8

Follow-up Comment #1, bug #40233 (project octave):

I haven't investigated, but I suspect that this is another case of allocating
resources and not explicitly cleaning them up before Octave exits.

If this is due to loading .oct files, then I'm only concerned about it if
Octave is not properly freeing memory if you do something like repeatedly call
a function defined in a .oct file, then clear it.  If that causes Octave to
grow without bound, then there is an actual leak we should worry about.

If I do


x = rand (10);
while (1)
  [q, r] = qr (x);
  clear qr
end


Octave does not appear to grow.  I can verify with lsof that qr.oct is loaded
when I call it and closed when I clear it.

So maybe we should close this report?


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?40233>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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