In Python 3.14.5, due to memory leaks, the old garbage collector has been reinstated.

A corrective release of the Python programming language 3.14.5 has been published, which, in addition to fixing bugs and minor vulnerabilities, reverts back to the old garbage collector that was used prior to the 3.14.x branch. User complaints about significantly increased memory consumption after migrating production systems to the 3.14 branch and the appearance of memory leaks were cited as the reasons for this unusual significant change for an intermediate release.

In addition to rolling back the new garbage collector in the 3.14 branch, it has been decided not to use it in the next major release 3.15, which has recently entered beta testing. It is worth noting that in the 3.14 branch, the cyclic garbage collector was replaced with an incremental one, where garbage collection of long-lived objects is performed in parts and less frequently than the processing of new generations of objects, which are typically freed more often, resulting in a significant reduction in the maximum pause time for applications with a very large number of objects in memory.

In Python 3.14.5, due to memory leaks, the old garbage collector has been reinstated.


Source: opennet.ru
Buy reliable website hosting with DDoS protection, VPS VDS servers 🔥 Buy reliable website hosting with DDoS protection, VPS VDS servers | ProHoster