[Python-bugs-list] [ python-Bugs-227470 ] Memory leak in bdb
noreply@sourceforge.net
noreply@sourceforge.net
Tue, 11 Dec 2001 06:04:34 -0800
Bugs item #227470, was opened at 2001-01-03 17:22
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=227470&group_id=5470
Category: Python Library
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Tessa Lau (tlau)
>Assigned to: Michael Hudson (mwh)
Summary: Memory leak in bdb
Initial Comment:
This program quickly grows to upwards of 70M on Linux with
Python 2.0:
import bdb
for memory_leak in xrange(10000000):
b = bdb.Bdb()
b.run('i=0', {}, {})
Yet factoring the bdb.Bdb() instantiation outside the loop
removes the memory leak.
----------------------------------------------------------------------
>Comment By: Michael Hudson (mwh)
Date: 2001-12-11 06:04
Message:
Logged In: YES
user_id=6656
This no longer leaks, so I guess the recent round of
purifying nailed it.
----------------------------------------------------------------------
Comment By: Guido van Rossum (gvanrossum)
Date: 2001-01-03 18:31
Message:
Perhaps something in the trace code?
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=227470&group_id=5470