Python server locks up

sturlamolden sturlamolden at yahoo.no
Fri Sep 11 05:12:30 EDT 2009


On 9 Sep, 22:28, Zac Burns <zac... at gmail.com> wrote:

> Theories:
>    Python is resizing the large dictionary
>    Python is garbage collecting

Python uses reference counting, not a generational GC like Java. A
Python object is  destroyed when the refcount drops to 0. The GC only
collects cyclic references. If you create none, there are no GC delays
(you can in fact safely turn the GC off). Python does not share Java's
nasty habit of having long GC delays.




More information about the Python-list mailing list