athoscouto

We've been impacted by this. I migrated our services to Python 3.14 so we could attach profilers during runtime.

A couple of services looked like they had a memory leak. Memory was continuously increasing over time. Thanks to Python 3.14, we were able to use memray to understand what was going on. Those services were recreating HTTP clients (aiohttp) for every inbound request, and memory allocated by the downstream SSL lib was growing faster than it was being released.

We ended up rolling back to 3.13, which fixed the issue. I'll try again with 3.14.5.

show comments
davidkwast

"Python 3.14 shipped with a new incremental garbage collector. However, we’ve had a number of reports of significant memory pressure in production environments.

We’ve decided to revert it in both 3.14 and 3.15, and go back to the generational GC from 3.13."

Sounds the right move for me

show comments
NooneAtAll3

I'm genuinely surprised that python change was even possible without PEP

show comments
bhouston

.NET seems to have regularly changed the garbage collector over the years and I do not remember any similar surprises in production. I wonder why they have had better experience?

I thought that by now dynamic garbage collection was a known quantity so that making changes, outside of out right bugs, is fairly safe and predictable?

show comments
sega_sai

I think reverting is not problem per se, but releasing a highly problematic version without proper testing in such an essential component is.

show comments
emil-lp

If I understand correctly, this is one of the changes that caused the regression:

https://github.com/python/cpython/pull/117120

insumanth

This is the first time I came across a change (a big one) that was implemented without passing through PEP. I thought it was standard.

nodesocket

If using containers I believe this change was pushed in image python:3.14.5-slim-trixie

__loam

Python is such a mess.

show comments
askllk

All these issues were known in previous attempts for removing the GIL. But if Instagram/Meta want it, everyone stands to attention and finds out the obvious problems years later. Kind of like in geopolitics.

I hope Meta switches Instagram to PHP/Hack so they leave Python alone.

show comments
brianwawok

In the world of AI written code, Python just doesn’t make sense. Converted about 100k lines in the last few months to golang and the performance is life changing. Curious if we will see global Python adoption fall by 75% or more in the next few years.

show comments