On Aug 17, 2011, at 3:55 PM, Eelco Dolstra wrote: > Hi, > > On 08/17/2011 02:58 PM, Marco Maggesi wrote: > >>>> Does anybody runs nix on Ubuntu 11.04 (Natty Narwhal)? >>>> >>>> It does not work for me. E.g.: >>>> >>>> maggesi@bantu:~$ nix-env -i fossil >>>> installing `fossil-1.18' >>>> error: unable to fork: Cannot allocate memory >>> >>> How much RAM and swap do you have? >> >> maggesi@bantu:~$ free >> total used free shared buffers cached >> Mem: 1022772 489748 533024 0 58920 154332 >> -/+ buffers/cache: 276496 746276 >> Swap: 1046524 0 1046524 > > Can you try running nix-env with the environment variable > GC_INITIAL_HEAP_SIZE=100000 ?
I get the same behavior: maggesi@bantu:~$ export GC_INITIAL_HEAP_SIZE=100000 maggesi@bantu:~$ time nix-env -i nix x86_64-linux x86_64-linux x86_64-linux 0 installing `nix-1.0pre28391' error: unable to fork: Cannot allocate memory real 0m41.199s user 0m1.630s sys 0m1.900s maggesi@bantu:~$ _______________________________________________ nix-dev mailing list [email protected] https://mail.cs.uu.nl/mailman/listinfo/nix-dev
