[erlang-questions] Change in garbage collector behavior?

Per Melin per.melin@REDACTED
Fri May 16 23:02:24 CEST 2008


>> No it's not.  It's 30 cons cells.  I have plenty of memory for that.
> Either way, my original concern is nullified.  Sorry for the noise.

Well, at least I got to put my foot in my mouth in the process. I feel
really stupid now.

Anyway:

2> B = F(20), ok.
ok
3> erlang:memory(processes).
21964814
4> erlang:memory(processes).
42026910
5> erlang:memory(processes).
64995342
6> erlang:memory(processes).
165291926
7> erlang:memory(processes).
190358406
8> f().
ok
9> erlang:memory(processes).
190388838
10> garbage_collect().
true
11> erlang:memory(processes).
818718

There's 5-10 seconds between each call.



More information about the erlang-questions mailing list