[erlang-questions] A lot of memory consumption

Greg Burri greg.burri@REDACTED
Sun May 3 13:47:31 CEST 2009


Hi,

When i launch an Erlang shell with 'erl' it takes a lot of memory like 600Mo.

So, I just launch 'erl' and hit CTRL-Z to return to the terminal :

 <gburri@REDACTED:~$> ps u -p 10723
 USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
 gburri   10723  2.1 25.0 599268 515116 pts/2   Tl   13:40   0:00
/usr/lib/erlang/erts-5.7.1/bin/beam.smp -- -root /usr/lib/erlang
-progname erl -- -home /home/gburri

As you can see it takes ~600MB of memory which is a bit huge I think ;)

I'm running Debian Sid (2.6.29 kernel) with Erlang 13B-2 :

 <gburri@REDACTED:~$> apt-cache show erlang | grep Version
 Version: 1:13.b-dfsg-2

 <gburri@REDACTED:~$> erl -version
 Erlang (SMP,ASYNC_THREADS,HIPE) (BEAM) emulator version 5.7.1

Anyone has an idea about this ?

TIA
/Greg



More information about the erlang-questions mailing list