root@devtool3:/usr/local/lib/erlang/lib/nitrogen-2.0.4# make rel_inets./rebar get-deps
==> nitrogen_core (get-deps)
==> nprocreg (get-deps)
==> simple_bridge (get-deps)
==> sync (get-deps)
==> rel (get-deps)
==> nitrogen-2.0.4 (get-deps)
==> nitrogen_core (compile)
==> nprocreg (compile)
==> simple_bridge (compile)
==> sync (compile)
==> rel (compile)
==> nitrogen-2.0.4 (compile)
make: Entering directory `/usr/local/lib/erlang/lib/nitrogen-2.0.4'
==> rel (generate)
Crash dump was written to: erl_crash.dump
eheap_alloc: Cannot allocate 2280657000 bytes of memory (of type "heap").
make: *** [rel_inner] Error 134
make: Leaving directory `/usr/local/lib/erlang/lib/nitrogen-2.0.4'
make: *** [rel_inets] Error 2
OS: Ubuntu 11.04 x64
Before this error I have problem with .#dev file with is adviced to delete - I do it.
But then I can't build nitrogen with any size of memory - from 1Gb to 8Gb (I tested it 5 times).