Need card #263 · Relevance High · Status New

Swap files and ZRAM cause hibernate issues and memory pressure on NixOS

Updated 9/30/2026, 22:05:11

Problem

Users on NixOS encounter hibernate failures, excessive memory usage, and occasional system lock‑ups when using swap files or ZRAM, particularly on btrfs where swap files are unreliable.

Pain points

Questions to verify

Evidence

quote · @anonymous
swap files can complicate hibernate
quote · @anonymous
swap files on btrfs should probably be avoided whenever possible
quote · @anonymous
ZRAM is also a bad idea, when it is filled, the system starts swapping to a disk, and old pages nobody needs are kept in RAM forever.

Disclaimer: this card is distilled by AI from community discussions as “pain point evidence”. It is a starting point for need analysis and validation, not a “validated market need”. AI has analytical limits; please open the original discussion above to manually verify before key decisions.