Django: fixing a memory “leak” from Python 3.14’s incremental garbage collection

Adam Johnson explains how a Django migration memory “leak” on Python led to a clever workaround and helped expose issues with its new garbage collector. #djangonews

https://adamj.eu/tech/2026/04/20/django-python-3.14-incremental-gc/

Django: fixing a memory “leak” from Python 3.14’s incremental garbage collection - Adam Johnson

Back in February, I encountered an out-of-memory error while migrating a client project to Python 3.14. The issue occurred when running Django’s database migration command (migrate) on a limited-resource server, and seemed to be caused by the new incremental garbage collection algorithm in Python 3.14.

[Articles] Python: introducing profiling-explorer - Adam Johnson

#djangonews

https://adamj.eu/tech/2026/04/03/python-introducing-profiling-explorer/

Python: introducing profiling-explorer - Adam Johnson

I’ve made another package! Like icu4py, which I made in February, it was sponsored by my client Rippling. And like tprof, which I made in January, it’s a profiling tool!

🚀 We shipped Issue #334 of @djangonews on @buttondown this week for the first time.

📊 If you subscribe, did you receive it?

https://django-news.com/archive/issue-334-new-look-new-home-same-everything-else/

#Django #DjangoNews #Python

Yes
81.8%
Yes, but I found it in SPAM/Junk
3%
No
12.1%
What's Django News? (check the link)
3%
Poll ended at .
Issue 334: New look, new home, same everything else

News uv is now supported natively - Read the Docs Read the Docs now natively supports uv, bringing faster and simpler Python dependency installs to your docs...

Django News Newsletter
Issue 334: New look, new home, same everything else

News uv is now supported natively - Read the Docs Read the Docs now natively supports uv, bringing faster and simpler Python dependency installs to your docs...

Django News Newsletter
DjangoCon Europe Next Week!

Security releases, triaging Django Issues with Claude Code, Django Day Copenhagen, and more.

Django News Newsletter
Balancing the AI Flood in Django

From LLM integration to database indexing and supply chain security, explore the latest ideas, tools, and debates in the Django world

Django News Newsletter
Supply Chain Wake-Up Call

AI code review pitfalls, Django performance wins, Python’s lazy imports story, and sharp edges in today’s tooling.

Django News Newsletter
Google Summer of Code 2026 with Django

1000 Most Popular Django Packages, DjangoCon US Date Change, icu4py package, and more.

Django News Newsletter

📰 Issue 333: Django News - 30% Off PyCharm Pro – 100% for Django

https://django-news.com/archive/issue-333-django-news-30-off-pycharm-pro-100-for/

#Python #Django #DjangoNews

Issue 333: Django News - 30% Off PyCharm Pro – 100% for Django

Django News Newsletter is moving! Just a quick heads up. We’re planning to move our newsletter to a new platform next week. If things look a little different...

Django News Newsletter
Contributor Covenant, Security Team Expansion, and Django 6.1 Updates

Django moves toward Contributor Covenant 3, Python opens up its Security Response Team, new 6.1 features land, and more from across the ecosystem.

Django News Newsletter