Menu

1 / 2

Python 3.14 garbage collection rigamarole

Hacker News·5 months ago
#gX95EOGz
#theconsensus#before#objects#reference#python
Reading 0:00
15s threshold

On software infrastructure.

The Consensus Weekly

Join the free weekly newsletter to learn about new articles, jobs, and funding in software infrastructure.

Subscribe Python 3.14 garbage collection rigamarole

Python 3.14.0 introduced a new incremental garbage collector. But reports of higher memory usage caused the Python team to revert the garbage collector changes in 3.14.5. We investigate how memory management works in Python and workloads that perform best and worst for the incremental garbage collector.

By Phil Eaton · June 6, 2026

You are getting early access to this article as a subscriber. Your support makes articles like this possible. Thank you.

Python 3.14.5 was just released and is the current latest stable version of Python. Python 3.14.0 (released in October, 2025) changed the garbage collector (GC) from traditional generational garbage collection to incremental garbage collection.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.