Possible memory leak in colorbar.draw_all()

I have a matplotlib application whose memory consumption increases with
each call to matplotlib.colorbar.draw_all(). I'm using the matplotlib
0.99.0 as found in the ubuntu karmic (universe) repository.

I've filed a bug report, ID 2934351, titled "Possible memory leak in
colorbar", with a minimum working example attached to the bug report.

John Haiducek

John Haiducek wrote:

I have a matplotlib application whose memory consumption increases with
each call to matplotlib.colorbar.draw_all(). I'm using the matplotlib
0.99.0 as found in the ubuntu karmic (universe) repository.

I've filed a bug report, ID 2934351, titled "Possible memory leak in
colorbar", with a minimum working example attached to the bug report.

Thanks for the report. I closed the report with a comment. What you found is a case of confusing code, not a true memory leak in mpl. I will try to clarify it a bit without getting into a major refactoring.

Eric

···

John Haiducek

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Thanks Eric, I changed my app to create a new colorbar every time it
redraws the plot and that fixes the memory issue for me.

John

···

On Mon, 2010-01-18 at 08:19 -1000, Eric Firing wrote:

Thanks for the report. I closed the report with a comment. What you
found is a case of confusing code, not a true memory leak in mpl. I
will try to clarify it a bit without getting into a major refactoring.

Eric