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

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

[Octave-bug-tracker] [bug #55287] Memory leak in graphics subsystem


From: Rik
Subject: [Octave-bug-tracker] [bug #55287] Memory leak in graphics subsystem
Date: Tue, 8 Jan 2019 13:54:26 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Update of bug #55287 (project octave):

                  Status:                   Fixed => Confirmed              
             Open/Closed:                  Closed => Open                   

    _______________________________________________________

Follow-up Comment #26:

Re-opening report.  Using 'top' there is still an observed accumulation of
memory when running the following script


i=0;
do
 i += 1;
 data = rand (100_000, 1);
 #clf    % uncomment to avoid leak
 #cla    % This is not enough, still leaks
 plot (data);
 drawnow;
until (i > 1e4)


Some testing shows that clf is enough to avoid the leak, but that just
clearing the axes object with cla is not.  This makes sense because a call to
plot() will normally only try to clear the axes before adding in the new
data.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55287>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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