[erlang-questions] How to see which processes used ets table?

Gustav Simonsson <>
Tue Feb 5 08:51:16 CET 2013


Note that erlang:memory/1 gives memory in bytes, whereas ets:i/0 gives it
in words. On a 64-bit system 625M words would be 5GB, so the numbers you
get might be correct. Try summing the memory from ets:i/0 up exact and
compare it to erlang:memory(ets).

Cheers,
Gustav Simonsson


On Tue, Feb 5, 2013 at 3:42 AM, Solomon <> wrote:

> I checked system info with erlang:memory/1 and found the total amount of
> memory allocated for ets tables was about 5GB.
>
> Then I sum the memory size return by ets:i/0 and it was about 600MB.
>
> So which processes used ets table and did not return by ets:i/0?
>
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130205/b320f713/attachment.html>


More information about the erlang-questions mailing list