4 ms·
Nowadays in Erlang you can set a memory limit per process[1], ensuring they get killed if they try to allocate more. Of course you still have to estimate how mu
by ramchip 7y ago
Nowadays in Erlang you can set a memory limit per process[1], ensuring they get killed if they try to allocate more. Of course you still have to estimate how much is reasonable which isn’t always obvious...
[1] See max_heap_size under http://erlang.org/documentation/doc-9.0/erts-9.0/doc/html/erlang.html#process_flag-2 http://erlang.org/documentation/doc-9.0/erts-9.0/doc/html/er...