[erlang-questions] Erlang beam memory question

Stephen Han <>
Tue Jul 8 17:05:36 CEST 2008


Hi

If I do the 'top' then the beam is using

Size: 302M RSS: 302M SHARE: 1716

However, when I do the erlang:memory()

[{total,13418553},
 {processes,3778222},
 {processes_used,3386662},
 {system,9640331},
 {atom,590253},
 {atom_used,580770},
 {binary,218737},
 {code,6708906},
 {ets,834788}]

It is showing different number? Why there is such a discrepancies?

I am running Yaws on OTP r10b-9. I do see the issue once i do stress testing
using tool to generate about 500 user sessions.

regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080708/ea20c778/attachment.html>


More information about the erlang-questions mailing list