[erlang-questions] Unstable erlang compared to java or perl

Jesper Louis Andersen jesper.louis.andersen@REDACTED
Sun Nov 7 22:21:58 CET 2010


On Sun, Nov 7, 2010 at 10:15 PM, Petter Egesund
<petter.egesund@REDACTED> wrote:

> Full source code? It is unfortunately to long and to data-bound to
> make sense. Still hoping for a clue - ets:i() tells me that total ets
> should be less than to 1 gb total, but memory() says it is using more
> than 5 gb for ets.

ets:i/0 reports words.
erlang:memory/0 reports bytes.

So that should not be surprising that they differ by a factor of 4.

-- 
J.


More information about the erlang-questions mailing list