[Nix-dev] NixOS on embedded systems
Eelco Dolstra
e.dolstra at tudelft.nl
Tue Jul 20 15:20:39 CEST 2010
Hi,
On 07/17/2010 02:33 PM, Lluís Batlle i Rossell wrote:
>> My anecdotal evidence suggests that gcc is not the only problem. I saw nixos-
>> rebuild fail with out of memory error in an OpenVZ container with 256M of RAM
>> while it was evaluating the config.
>
> The amount of memory needed for nix evaluation, for the light nixpkgs I
> described with fetchurl-like attributes, can be much much less.
I'm not so sure about that. I think the main cost in a nixos-rebuild evaluation
is in the NixOS configuration evaluation, not in Nixpkgs.
BTW, the evaluator currently still lacks a garbage collector. If we build it
with libgc, it should run in a lot less memory.
--
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/
More information about the nix-dev
mailing list