Memory leak; user error or bug?

In article <4CF69BA4.1000805@...86...>,
Michael Droettboom <mdroe@...86...>
wrote:

···

On 12/01/2010 01:40 PM, Russell E. Owen wrote:
> I'm seeing a nasty memory leak in my strip chart widget using matplotlib
> 1.0, TkAgg and Mac OS X 10.5
>
> I've posted a minimal version here:
> <http://www.astro.washington.edu/users/rowen/python/MinimalStripChartWdg.
> >
>
> It doesn't seem to matter if I use the animation API or not (the example
> does not).
>
> Any ideas? If this is a bug I'll report it, but I hope I'm just doing
> something wrong.
I don't have a Mac to try this on -- however, I don't see the leak on
Fedora 14/Python 2.7/Numpy 1.5.1/Tkinter with both matplotlib 1.0 and
matplotlib SVN head. That may narrow it down to something Mac OS
X-specific. Sorry that's not totally helpful, but it's a data point.

Thank you; that is very helpful. Unfortunately that suggests it is
Mac-specific or Tcl/Tk-version-specific which could make it hard to
track down. I'll report it as a bug in any case.

-- Russell

23 MB RPRVT @ 7:52 PM

40 MB RPRVT @ 8:07 PM

matplotlib 1.0.0

OSX 10.6.5

python.org python, 2.6.6

···

On Wed, Dec 1, 2010 at 6:53 PM, Russell E. Owen <rowen@…2756…> wrote:

In article <4CF69BA4.1000805@…86…>,

Michael Droettboom <mdroe@…86…>
wrote:

On 12/01/2010 01:40 PM, Russell E. Owen wrote:

I’m seeing a nasty memory leak in my strip chart widget using matplotlib

1.0, TkAgg and Mac OS X 10.5

I’ve posted a minimal version here:

<http://www.astro.washington.edu/users/rowen/python/MinimalStripChartWdg.

It doesn’t seem to matter if I use the animation API or not (the example

does not).

Any ideas? If this is a bug I’ll report it, but I hope I’m just doing

something wrong.

I don’t have a Mac to try this on – however, I don’t see the leak on

Fedora 14/Python 2.7/Numpy 1.5.1/Tkinter with both matplotlib 1.0 and

matplotlib SVN head. That may narrow it down to something Mac OS

X-specific. Sorry that’s not totally helpful, but it’s a data point.

Thank you; that is very helpful. Unfortunately that suggests it is

Mac-specific or Tcl/Tk-version-specific which could make it hard to

track down. I’ll report it as a bug in any case.

– Russell


Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!

Tap into the largest installed PC base & get more eyes on your game by

optimizing for Intel® Graphics Technology. Get started today with the

Intel® Software Partner Program. Five $500 cash prizes are up for grabs.

http://p.sf.net/sfu/intelisp-dev2dev


Matplotlib-users mailing list

Matplotlib-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Daniel Hyams
dhyams@…287…