Merged

dhh opened and merged omacom/omarchy#20437 into the quattro branch on 2026-11-27. On machines that report at least 56 GiB, which covers 64 GiB and larger systems, a one-shot service runs at boot and sets a MemoryMax on app-graphical.slice. It leaves 11 GiB outside the slice: room for a full 8 GiB zram device plus about 3 GiB for session and system services. The pull request says the zram device stops growing at 8 GiB, so on large machines heavy parallel workloads can fill it faster than systemd-oomd reacts. The author's own stress tests on a 125 GiB workstation reported 54 kernel OOM kills on stock Omarchy, wiping out Hyprland, the shell, PipeWire and D-Bus. With the cap, the same tests reported no kernel OOM kills. These are the author's measurements, not independent checks.

The cap targets app-graphical.slice rather than app.slice. That keeps the local AI model containers in the sibling app-models.slice uncapped, so large models are not OOM-killed by the desktop limit. During review, greptile-apps[bot] raised two concerns on earlier revisions. One, in omacom/omarchy#20437:discussion_r4721168064, was that a percentage-based reserve leaves too little RAM for zram on 32 to 64 GiB machines. The other, in omacom/omarchy#20437:discussion_r4721239308, was that deferring a lower cap until reboot could let an unrelated daemon-reload apply it mid-workload. The merged commit omacom/omarchy@0d225171ef6c lists later revisions that switched to the fixed 11 GiB reserve, dropped the live apply in the migration and raised the threshold to 56 GiB hosts.

In a related change, dhh committed omacom/omarchy@7f81f1b6bc16 to quattro. When systemd-oomd or the kernel OOM killer closes an app, crash watching now shows a clear Out of memory notification naming the app. It also holds back the misleading crash toasts that sibling processes such as Chrome's often trigger moments later.