Interview practice question
Pipeline killed by OOM in a container
Data Engineering · Python · Experienced
Your Python pipeline runs fine locally but gets OOM-killed in a Kubernetes or ECS container. How do you troubleshoot it?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Container memory limits are lower than your laptop.
- Check peak memory usage and the container limit.
- Find where memory peaks with profiling.
- Reduce memory: chunking, streaming, fewer copies of DataFrames.
- Right-size the container only after optimizing.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.