SpinTheMic
Pro

Explain it in 60 seconds

How container memory is accounted

Cloud & DevOps · Docker · Experienced

How is memory counted for a container, and why can it surprise you?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • cgroup memory includes RSS + page cache + kernel memory.
  • Page cache can be reclaimed; working set metric matters.
  • tmpfs writes count as memory.
  • Limit hit → reclaim, then OOM kill.
  • Monitor working set, not just usage.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics