[erlang-questions] Memory usage
Thu Sep 11 15:35:01 CEST 2008
Ulf Wiger wrote:
> It's late, and since you're still up and about (and the ERTS experts perhaps
> aren't), I'll take a wild stab and suggest that it has something to do with
> generational GC etc. The process_info(P,heap_size) only looks at the
> youngest heap, so it misses all data on the old heap.
There is also the process_info(P, memory) to consider.
Size is the size of the process in bytes. This includes
call stack, heap and internal structures.
More information about the erlang-questions