Processing large JSON files without running out of memory - Itamar Turner-Trauring
If you need to process a large JSON file in Python, it’s very easy to run out of memory while loading the data, leading to a super-slow run time or out-of-memory crashes. If you're running in the cloud, you can get a machine with more memory, but that means higher costs. How can you process these large files without running out of memory? In this talk you'll learn: How to measure memory usage. Some of the reasons why loading JSON uses so much memory. Then, you'll learn some of the solutions to this problem: Using a more efficient in-memory representation. Only loading the subset of the data you need. Streaming parsing, which can parse arbitrarily-large files with a fixed amount of memory. Using a different file format, like JSON Lines.

▶︎
"Clean" Code, Horrible Performance

▶︎
The past, present, and future of virtual environments - Zanie Blue

▶︎
Apache Iceberg: What It Is and Why Everyone’s Talking About It.

▶︎
Tips for C Programming

▶︎
Something is jamming GPS over Europe. Here's what we found

▶︎
The Insane Genius of a Formula 1 Gearbox

▶︎
Turing Award Winner: Data Abstraction, Dijkstra, Distributed Systems | Barbara Liskov

▶︎
The most beautiful formula not enough people understand

▶︎
Liked Pydantic? You'll LOVE Msgspec

▶︎
Andrej Karpathy: From Vibe Coding to Agentic Engineering w/ Stephanie Zhan

▶︎
It finally happened

▶︎
How Rockstar fit an entire city into PlayStation 2 memory

▶︎
Stop Hardcoding Everything: Use Dependency Injection

▶︎
Simple Code, High Performance

▶︎
Taming file zoos: Data science with DuckDB database files - Alex Monahan

▶︎
Python Tutorial: Type Hinting vs Type Checking vs Data Validation - What’s the Difference?

▶︎
Protocols vs ABCs in Python - When to Use Which One?

▶︎
Stop Rambling: The 3-2-1 Speaking Trick That Makes You Sound Like A CEO

▶︎
Keeping up with Python: what makes upgrades hard, and what can we do about it - Jason Fried

▶︎
