[erlang-questions] Trying to reduce Erlang memory consumption

Jason Ganetsky <>
Tue Sep 16 20:24:46 CEST 2008


Hi,

So, my beam process is taking up a good 1.7 GB. This is my erlang:memory()

[{total,679986616},
 {processes,250148809},
 {processes_used,249859129},
 {system,429837807},
 {atom,770041},
 {atom_used,740322},
 {binary,95868397},
 {code,8424485},
 {ets,295126080}]

I'm trying to reduce this. The strange thing is how high my numbers are for
processes and processes_used. I ran erlang:process_info() on every process
in erlang:processes(), and found that my processes shouldn't be taking up
much memory at all. I only have 121 running, the largest heap_size is 6765
(and most are under 1000).. and the largest stack_size is 21.

What am I missing here?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080916/69201161/attachment.html>


More information about the erlang-questions mailing list