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/080594.html below:

[Python-Dev] Proposal: Run GC less often

[Python-Dev] Proposal: Run GC less often [Python-Dev] Proposal: Run GC less oftenAntoine Pitrou solipsis at pitrou.net
Sun Jun 22 16:32:09 CEST 2008
Greg Ewing <greg.ewing <at> canterbury.ac.nz> writes:
> 
> What happens if the program enters a phase where it's not
> producing any new cyclic garbage, but is breaking references
> among the old objects in such a way that cycles of them
> are being left behind? Under this rule, the oldest
> generation would never be scanned, so those cycles would
> never be collected.

We could introduce a kind of "timing rule" such that there is at least
one full collection, say, every minute. While timing is not relevant
to memory management, it is relevant to the user behind the keyboard.

In any case, I think MvL's suggestion is worth trying.

Regards

Antoine.


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