Ok.  I have a RHEL5 Linux box with Python 2.7.1.

With Numpy 1.4.1 and 1.5.1 I don't see any leaks.  With Numpy git HEAD, 
I did see a leak -- I submitted a pull request to Numpy here:

   https://github.com/numpy/numpy/pull/76

I get the same results (no leaks) running your wx, tk and agg scripts 
(with the Windows-specific stuff removed).

FWIW, I have wxPython 2.8.11.0 and Tkinter rev 81008.

So the variables are the platform and the version of Python.  Perhaps 
it's one of those two things?

Mike

On 04/19/2011 12:34 PM, Caleb Constantine wrote:
> On Tue, Apr 19, 2011 at 1:01 PM, Michael Droettboom<md...@stsci.edu>  wrote:
>    
>> There's a lot of moving parts here.  Running your script again is
>> showing some leaks in valgrind that weren't there before, but a number
>> of the underlying libraries have changed on my system since then (memory
>> leaks tend to be Whac-a-mole sometimes...)
>>
>> Which versions of the following are you running, and on what platform --
>> some variant of MS-Windows if I recall correctly?
>>
>> Python
>> Numpy
>> wxPython
>> Tkinter
>>      
> Windows XP SP 3
> Python - 2.6.6
> Numpy - 1.4.1
> wxPython - 2.8.11.0
> Tkinter - $Revision: 73770 $
>
> I'll install new versions of Numpy and wxPython (and maybe Python) and
> try again.
>
> ------------------------------------------------------------------------------
> Benefiting from Server Virtualization: Beyond Initial Workload
> Consolidation -- Increasing the use of server virtualization is a top
> priority.Virtualization can reduce costs, simplify management, and improve
> application availability and disaster protection. Learn more about boosting
> the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>    


-- 
Michael Droettboom
Science Software Branch
Space Telescope Science Institute
Baltimore, Maryland, USA


------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to