[Nix-dev] Re: nix-env used a lot of memory after installing psi

Lluís Batlle viriketo at gmail.com
Wed Aug 27 17:19:31 CEST 2008


I could reproduce the same with a new machine (the same version of nix
on ubuntu). Here is the last lines outputted by nix:
make[1]: Leaving directory `/tmp/nix-build-c840mw8wczs625595czibjxq4ngmk2
building install_qcasharedfiles
cp -f -r /tmp/nix-build-c840mw8wczs625595czibjxq4ngmk2s6-psi-0.11.drv-0/p
cq8zmvd5n22i7k0iacfkwainn-psi-0.11/share/psi//
cp: cannot stat `LICENSE': No such file or directory
cp: cannot stat `DISTRIBUTION': No such file or directory
cp: cannot stat `LEGAL': No such file or directory
cp: cannot stat `AUTHORS': No such file or directory
cp: cannot stat `ChangeLog': No such file or directory
cp: cannot stat `CHANGES': No such file or directory
resize_buffer(aterm.c): cannot allocate string buffer of size -1172903354

Regards,
Lluís.
2008/8/26 Lluís Batlle <viriketo at gmail.com>:
> Hello,
> I'm using nix 0.12pre12409 in my gentoo system (compiled with bison
> 2.3 and flex 2.5.33), and I've seen a very big memory usage in nix-env
> after installing the last derivation for psi-0.11. It took 1600MB of
> virtual memory, while my laptop, where nix-env run, had only 1GB of
> physical RAM.
>
> I've seen some texts saying that "nix-env -qa '*'" performs the
> strongest computation; I don't know how those 1600MB got used.
>
> Any idea? I was thinking in using nix or nixos in machines with less
> memory, I don't know if I those machines should be able to run 1600MB
> processes.
>
> Thank you,
> Lluís.
>


More information about the nix-dev mailing list