A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2008-June/080597.html below:

[Python-Dev] Proposal: Run GC less often

[Python-Dev] Proposal: Run GC less often [Python-Dev] Proposal: Run GC less often"Martin v. Löwis" martin at v.loewis.de
Sun Jun 22 22:36:19 CEST 2008
> Another problem is that the program could be slowly leaking and a
> full collection will never happen.

I don't think that will be possible. If the program slowly leaks,
survivor objects leave the middle generation, and account towards
the 10%. As the count of objects in the oldest generation doesn't
change, collection will eventually occur.

However, it may occur much later than it currently does, if you have
many objects on the heap, and each middle collection only has few
survivors. One may argue that if the machine had the space to keep
N objects in memory, it probably can also keep 1.1N objects in memory.

Regards,
Martin
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4