On Tue, Jul 20, 2010 at 03:20:39PM +0200, Eelco Dolstra wrote:
> 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.
Is that any peculiar, so nix could be optimized for the NixOS tricks?
> 
> BTW, the evaluator currently still lacks a garbage collector.  If we build it
> with libgc, it should run in a lot less memory.
Ok, do you have some figures on what libgc would allow to achieve for NixOS
evaluation?
_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to