Nix #227 (26 Feb)

Nix should not allocate the whole store path into memory

In a 1.5GB of ram system, I could not get a precompiled 758MB store path because something in nix failed with "std:bad_alloc". Specifically:

100  758M  100  758M    0     0   270k      0  0:47:48  0:47:48 --:--:--  306k
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
download of `http://nixos.org/releases/nars/sha256_982dc51164f6c656fb530db2ed7d5f2336047482ecb118f53916f9f812500060' failed
fetching path `/nix/store/8m3kvrzxqjjjqq07pdyyb8lrjvwc63ln-speed-dreams-2.0.0-a3-r3412' failed with exit code 255
error: some substitutes for the outputs of derivation `/nix/store/6f0m3m0yr43ns47nsz36fy98mi9hyqdr-speed-dreams-2.0.0-a3-r3412.drv' failed; try `--fallback'

-- Issue on YellowGrass -- http://yellowgrass.org --

_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to