Interview practice question
Container memory grows until killed, but the heap looks fine
Cloud & DevOps · Docker · Experienced
A service's container memory steadily grows until it is OOM-killed, but heap metrics from the application look stable. What could be happening?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Non-heap memory: native libs, threads, buffers.
- Page cache or tmpfs counted in cgroup.
- Memory fragmentation (glibc arenas).
- Measure RSS, working set, smaps.
- Tools: native memory tracking, jemalloc profiling.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.