[erlang-questions] Memory usage

Francesca Gangemi francesca@REDACTED
Thu Sep 11 15:39:53 CEST 2008


Claes Wikstrom wrote:
> 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.
>
>           {memory, Size}:
>                     Size  is  the  size of the process in bytes. This 
> includes
>                     call stack, heap and internal structures.
>
>
> /klacke
Thanks for the suggestions.
Apparently there is a lot of memory ~2GB used by processes that is not 
stack or heap (young), we'll monitor the system to find out where it's used.

Francesca



More information about the erlang-questions mailing list