From Python3.8 to Python3.10: Our Journey Through a Memory Leak

· Lyft · Dec. 15, 2025, 8:01 p.m.
Summary
This blog post details a real-world experience with a memory leak encountered during the process of upgrading Python services from version 3.8 to 3.10 at Lyft. It discusses the discovery of the leak, the profiling tools and techniques used, and the impact of changes in dependency, specifically with urllib3 and its relationship with gevent. The author emphasizes the complexity of debugging memory leaks and shares insights on effective practices while managing database connections.
AUTHOR
Sponsored
Zulip logo Zulip
Organized team chat for people who take work seriously. Topic-based threading keeps conversations focused.
Try Zulip
Become a sponsor →