How do I begin debugging a python memory leak?

Rainer Grimm r.grimm at
Fri Sep 18 22:06:52 CEST 2009

On Sep 18, 5:42 pm, Paul Rubin <http://phr...@NOSPAM.invalid> wrote:
> Rainer Grimm < at> writes:
> > have a look at valgrind.
> Have you actually used that on Python?
Not with python as far I can remember. But often with C++ executables,
as i mentioned it.
I you look at
there stands:
Valgrind has been used on programs written partly or entirely in C, C+
+, Java, Perl, Python, assembly code, Fortran, Ada, and many others.

It exists also a extension for python , to get rid
of the false positiv errors.
So it should be worth a try.

More information about the Python-list mailing list