[erlang-questions] Max heap size
Richard A. O'Keefe
Fri Apr 29 02:48:16 CEST 2016
On 28/04/16 8:31 PM, Lukas Larsson wrote:
> The documentation is part of the pull request, the options and
> behavior are described here:
Good stuff. "The heap size of a process is quite hard to predict,
+ amount of memory that is used during the garbage collection."
You can say that again. Advice about what to DO about that fact would be
welcome at this point.
"When contemplating to use this option,"
> - what are the units in which 'size' is measured?
> It is the same as min_heap_size and all other options that we that
> effect the process heap, the internal word size,
Worth saying *explicitly*. I'm used to C, Java, and C# specifying
thread sizes in bytes,
which the current Java documentation admits is a problem.
does something sane
> - what is the performance cost of this?
> If not enabled, it costs one branch per gc
Brag of it.
All things considered, I now see that this is thoroughly thought out,
and unlikely to be needed very often, but valued greatly on the few
occasions when it is needed.
More information about the erlang-questions