memory leak

Daniel Wheeler daniel.wheeler at nist.gov
Tue Dec 21 17:39:13 CET 2004


Can python leak memory even if the reference count for all the objects 
is not increasing?

For example:

for i in range(N):
         print ref_count_all_objects()
         do_something()

and every iteration the ref count is constant but the memory usage is 
increasing. What are the likely
problems?

Thanks

-------------------------------------
Daniel Wheeler
Telephone: (301) 975-8358




More information about the Python-list mailing list