Bug report: memory leak in python 1.5.2

Greg McFarlane gregm at iname.com
Wed May 26 02:06:43 EDT 1999


Environment: Solaris 2.5.1, gcc

The following script chews up cycles (as expected) as well as memory
(megabytes every few seconds).

Does anyone know why?

======================================================================
import os
while 1:
    os.environ['FOO'] = 'BAR'
======================================================================

-- 
Greg McFarlane:    INMS Telstra Australia (gregm at iname.com)
Today's forecast:  Sunny, with occasional cloudy periods and a chance
		   of rain in some areas.




More information about the Python-list mailing list