[Nix-dev] Nix on ubuntu 11.04

Eelco Dolstra e.dolstra at tudelft.nl
Wed Aug 17 15:55:51 CEST 2011


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 at 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 at 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 ?

-- 
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/



More information about the nix-dev mailing list