[erlang-questions] Setting maximum amount of data allocated by an Erlang node.
Mon Sep 7 03:23:24 CEST 2015
I presume that erts_alloc is a control layer on top of
malloc/calloc/realloc or their variants to handle different types of
allocations. The question is, if a limit is set -- of course, with very
clear knowledge of what is being done -- can we expect relevant
exception/error from the LIB/STDLIB/BIF functions?
On Mon, Sep 7, 2015 at 3:15 AM, Lukas Larsson <>
> Hello Akash,
> On Sat, Sep 5, 2015 at 1:53 AM, Akash Chowdhury <>
>> b) for maximum amount of data allocated by an Erlang node
> Yes it is possible since at least 17.0 to limit the amount of memory the
> VM uses on OSs with a good virtual memory management interface. You need to
> supply two memory allocator flags in combination: +MMscs <Limit in MB>
> +Musac false. You can read up on what they do in the erts_alloc manual.
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions