Skip to content
Chaos Lab

Challenge 30 · starter · Memory limits

OOMKilled

The quote API runs in one pod with a 1 GiB memory limit and the JVM flag -Xmx1g. Outside the heap the JVM also needs about 230 MiB: metaspace, thread stacks, the JIT's code cache and GC structures. At 20 seconds the evening peak arrives: traffic ×2.5, and about twice as many live objects in the heap.

From 5 to 120 seconds, answer at least 99.5% of requests with no restarts, and keep the pod's memory limit at 1 GiB: the node has no room for more.

ready00:00 / 02:00Success · 10 s–p99 · 10 s–Memory510 MiBRestarts0

Goal · measured 00:05–02:00

0 changes · par 1
  • Requests answered ≥ 99.5%not measured yet
  • Restarts ≤ 1not measured yet
  • Memory limit (GiB) ≤ 1 GiBnot measured yet

This is a simulation. Its numbers come from a model of a typical system, not from measuring real servers. The same link and seed always give the same run. How the Chaos Lab works.