>Hi all,The test doesn't demonstrate any leaks. It does demonstrate that memory
I feel that my python script is leaking memory. And this is a test I
have:
[snip]
usage can remain at or near peak memory usage even after the objects for
which that memory was allocated are no longer live in the process. This
is only a leak if peak memory goes up again each time you create any new
objects. Try repeated allocations of a large dictionary and observe how
memory usage rises and falls.
Python 2.5 does a somewhat better job of releasing memory when actual use
falls below peak, but this is a difficult thing to do perfectly.
Jean-Paul