[Twisted-Python] Woven application, objects not collected.
syver at inout.no
Tue Nov 25 08:34:28 EST 2003
Syver Enstad <syver at inout.no> writes:
> I have a serious problem with some woven applications where deferreds
> and their results returned from wmfactory_ methods are not garbage
> collected. They just stack up in gc.garbage. The python documentation
> states that the contents of gc.garbage are objects that are part of a
> cycle can't be collected because they have a __del__ method.
It seems that it is only when the deferreds are instance variables in
the Page that they end up in gc.garbage. It might be related that an
empty Page class with a __del__ method also end up in gc.garbage.
More information about the Twisted-Python