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 plot()


From: Lars Kindermann
Subject: [Octave-bug-tracker] [bug #55287] Memory leak in plot()
Date: Wed, 26 Dec 2018 12:31:01 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:64.0) Gecko/20100101 Firefox/64.0

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

                 Summary: Memory leak in plot()
                 Project: GNU Octave
            Submitted by: larskindermann
            Submitted on: Wed 26 Dec 2018 05:30:59 PM UTC
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Segfault, Bus Error, etc.
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 5.0.0
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Running this script for about 1500 iterations uses up all my 4 gigabytes of
memory so my system starts to swap and it becomes almost inresponsive:


i=0
do
 i=i+1;disp(i) 
 data=rand(100000,1);
 plot(data);drawnow;
until false


Also if stopping early, used memory is never released, even after the figure
is closed or cleared.

When trying to stop the loop with multiple ctrl-C, Octave crashes with

+verabtim+
^C^C^C^C^Cterminate called after throwing an instance of
'octave::interrupt_exception'
fatal: caught signal Abgebrochen -- stopping myself...
octave exited with signal 6


No such problem in 4.1.0.




    _______________________________________________________

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]