Re: Bug in Python interpreter

Guido.van.Rossum@cwi.nl
Sun, 19 Feb 1995 16:19:03 +0100

> Well, after evaluating Python as a possible scripting language I found a
> few problems with the interpreter. It loses memory bad. Basically, I
> wrote a small script to do some list and string work, and then hit an
> exception (divide by zero), and did the whole thing over again...
>
> Well, the swap file on the test system simply kept growing over time, I
> killed it at a point when the process consumed over 12MB of RAM (Running
> time: 1 day) from an original starting point of 401K.

Well, 12MB in a day is not that bad. There have been leaks that go at
1MB a second :-)

Seriously, I'm working on fixing the leaks, and in 1.2 (already in
beta, see ftp.cwi.nl in pub/guido) all leaks I know of have been
fixed. If you send me your test script I could run in in 1.2 to see
if it still leaks...

--Guido van Rossum, CWI, Amsterdam <mailto:Guido.van.Rossum@cwi.nl>
<http://www.cwi.nl/cwi/people/Guido.van.Rossum.html>