On 14 Aug, 05:57, Godzilla <[EMAIL PROTECTED]> wrote: > Hello, > > I have a program that create and pop an object off a queue, but it is > experiencing some memory leakage. I have been unable to detect where > the memory leakage occur. The strange thing is when i replace the > object creation with a plain integer/string, the leak goes away... > Here's the code I used as my test: [...] > I can see the memory usage increases slowly in Task Manager under XP, > but do not know why. Anyone help?
I tried your code on my (Windows XP SP2, Python 2.5) system. No memory leak here - I left it running for over 5 minutes and memory usage was static at just under 4MB. Do you see memory growth with precisely this code? Over what period? How much? Paul. -- http://mail.python.org/mailman/listinfo/python-list