Python 3.14.5 reverts to the old garbage collector due to memory leaks.

A minor update to Python 3.14.5 has been released. In addition to fixing bugs and minor vulnerabilities, it also reverts to the legacy garbage collector used before the 3.14.x branch. The reason for this significant change, unusual for a minor release, is user complaints about a significant increase in memory consumption and the emergence of memory leaks after migrating production systems to the 3.14 branch.

In addition to rolling back the new garbage collector in the 3.14 branch, it was decided not to use it in the next major release, 3.15, which entered beta testing a few days ago. As a reminder, in the 3.14 branch, the cyclic garbage collector was replaced with an incremental one, which performs garbage collection of long-lived objects in parts and less frequently than processing new generations of objects, which are typically freed more frequently. This has significantly reduced the maximum execution time of applications with very large numbers of objects in memory.

 Python 3.14.5 reverts to the old garbage collector due to memory leaks.


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