Memory leak in Python

diffuser78 at gmail.com diffuser78 at gmail.com
Wed May 10 19:26:25 EDT 2006


I ran simulation for 128 nodes and used the following

oo = gc.get_objects()
print len(oo)

on every time step the number of objects are increasing. For 128 nodes
I had 1058177 objects.

I think I need to revisit the code and remove the references....but how
to do that. I am still a newbie coder and every help will be greatly
appreciated.

thanks




More information about the Python-list mailing list