memory bug in win32pdh

Mark Hammond MarkH at ActiveState.com
Wed Jun 20 22:43:43 EDT 2001


vincent delft wrote:

> I'm written a small python script to get, each seconds, the list of
> process running on a W2K box.  During that develoment I've founded a
> strange behaviour.
> 
> I've isolated the problem to 1 simple command.
> 
> Try the following code, and look in your "Task Manager", the "memory
> usage" for your python process will grow and grow.  Within 10 minutes
> the "memory usage" grow up to 800kb.

This is a Python object leak in PyEnumObjectItems().  I have checked a 
fixed into CVS, so future builds will have this fixed.

Mark.




More information about the Python-list mailing list