Deleting objects on the fly

Godzilla godzillaismad at gmail.com
Thu Aug 9 20:25:00 EDT 2007


Hello,

I wish to know whether I should delete objects created on the fly via
the "del obj" statement. I noticed the RAM usage increased whenever
the application is being run for a long time. I am creating lots of
objects (messages) on the fly for communication between threads.

Rather than having python's gc to do the work, does it make a
difference if I force a deletion?

Thanks.




More information about the Python-list mailing list