Thread Memory Leak

Jeff Epler jepler at unpythonic.net
Tue Jun 25 10:10:36 EDT 2002


On Tue, Jun 25, 2002 at 09:37:12AM -0300, Marco Catunda wrote:
> Hello,
> 
> I've developed a python program with some threads. 
> This program is a daemon server. I have seen the
> memory of that program growing very fast in a short 
> period of time. So I decided to make a little program
> to see what's happen.

I see memory grow slowly over time on a RedHat 7.3 system with Python
2.3a0 CVS.  The memory numbers are erratic, but at the start they are in
a range 3000-13000 VSZ.  At the end of the run I did, the numbers seemed
to have grown to 6000-18000 VSZ.

I did not see this growth on a RedHat 6.2 system with Python 2.1.

Since both the OS and Python versions varied between these two systems,
I can't say which is at fault.

Jeff





More information about the Python-list mailing list