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

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

[Octave-bug-tracker] [bug #47372] Memory leaks and segmentation faults i


From: Rik
Subject: [Octave-bug-tracker] [bug #47372] Memory leaks and segmentation faults in Octave
Date: Wed, 06 Apr 2016 16:22:06 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #90, bug #47372 (project octave):

I can confirm that the classdef leaks are now gone.  The only ones I see are
now from putenv (which I don't believe can/need to be fixed).

One question, I have a small m-file tst_leak.m that contains


__run_test_suite__
exit


I have been testing by executing this statement from the command line


./run-octave -f tst_leak.m |& tee leak.log


When I do this I find only 3073 bytes are leaked.  However your test log shows
32569 bytes leaked.

How are you running the test suite?  Are you directly starting Octave and
entering commands?


./run-octave -f --no-gui
__run_test_suite__
exit


I wasn't overly concerned about the remaining leaks in various parts of the Qt
libs because they don't seem to grow with time, and they might just be there
because we don't free the resources and instead let the operating system reap
the process and all of its memory.  But we could try to locate them. 
Shouldn't we be calling QCoreApplication::quit() somewhere?



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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