Omarchy’s memory tuning was built around 8–16 GiB laptops, and DHH found out what happens when you push a 125 GiB workstation to the wall: the whole desktop got wiped out. His fix (PR #20437) was merged November 27.
The cause traces back to this week’s 8 GiB zram cap. On a 64 GiB+ box that’s a tiny slice of RAM, and a parallel build can fill it in under a second, faster than systemd-oomd can react. In his tests on stock Omarchy, one run triggered 54 kernel OOM kills that took out Hyprland, Quickshell, PipeWire and D-Bus, and another caused a six-minute lockup.
- A new
omarchy-high-memory.serviceruns only whenConditionMemory=>=56G, so smaller laptops never touch it. - It caps
MemoryMaxonapp-graphical.slice, reserving 11 GiB outside it, recalculated every boot. - Local AI models live in a sibling
app-models.sliceand stay uncapped. - Companion PRs give the session a soft
MemoryLow=768M, tighten oomd to 60% over 10 seconds, and swap the misleading “Process crashed” toast for a clear “Out of memory” notice.
With the fix, the same tests finished with zero kernel OOM kills and hyprctl staying around 10 ms at p95.
My take
That’s how you fix it: cgroups, not hope. The runaway build gets contained and the desktop lives. You can override the cap in a app-graphical.slice.d drop-in. Numbers are from DHH’s own hardware, so yours will vary.
God Bless, and Happy hacking!