[Python-Dev] GC Changes
Adam Olsen
rhamph at gmail.com
Tue Oct 2 03:18:18 CEST 2007
On 10/1/07, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
> Justin Tulloss wrote:
> > Would
> > somebody care to give me a brief overview on how the current gc module
> > interacts with the interpreter
>
> The cyclic GC kicks in when memory is running low. Since
This isn't true at all. It's triggered by heuristics based on the
total number of allocated objects. It doesn't know how much memory is
available and is not called if an allocation fails.
--
Adam Olsen, aka Rhamphoryncus
More information about the Python-Dev
mailing list