Troubleshooting This section provides solutions for some common problems. Berkeley DB: <quote>Cannot allocate memory</quote> Symptom: Nix operations (in particular the nix-store operations , , and — the latter being called by nix-channel --update) failing: $ nix-store --verify error: Db::del: Cannot allocate memory Possible solution: make sure that no Nix processes are running, then do: $ cd /nix/var/nix/db $ rm __db.00*