InfraMaxx

Linux & OS Internals

cgroup memory limits: memory.max and exit code 137

Beginner · 5 min read · quiz included

A Java container with a 512 MiB limit restarts every few hours with exit code 137 while the host has 20 GB free. The limit is a file in a cgroup, and the evidence is in the file next to it.

What is in the lesson

Read this lessonFree. No account needed.

More in Linux & OS Internals

All 85 Linux & OS Internals lessons