|
From: | Lars Kindermann |
Subject: | [Octave-bug-tracker] [bug #55287] Memory leak in graphics subsystem |
Date: | Tue, 8 Jan 2019 15:28:51 -0500 (EST) |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:64.0) Gecko/20100101 Firefox/64.0 |
Follow-up Comment #28, bug #55287 (project octave): As Octave is missing MATLABs memory() function which is very helpful in debugging memory problems, I started hacking an Octave version. It only has some of the functionality of the original yet and currently works on Linux only but it does its job. Maybe something for 6.0. I attached it to this report. How to use it in the test script: i=0 do i=i+1; data=rand(100000,1); #clf #uncomment to avoid leak plot(data); drawnow mem=memory().MemUsedOctave; disp([i mem]) until i>100000 (file #45907) _______________________________________________________ Additional Item Attachment: File name: memory.m Size:2 KB _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?55287> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |