youtube image
From YouTube: Out of Memory Must Fail Fast in JS

Description

Presented at TC39 Oct 2019. https://github.com/tc39/proposal-oom-fails-fast
Achieved stage 1 status.
Slides:
https://github.com/tc39/agendas/blob/master/2019/10.oom-fails-fast-as-recorded.pdf

The ECMAScript specification nowhere mentions the possibility of running out of memory (OOM), and so cannot be correctly implemented on finite memory machines. Allocation in JavaScript is pervasive and implicit, implying that an OOM may happen anywhere in the execution of the program. If OOM threw a catchable error, computation within the agent would continue in an inconsistent state. Instead, we should immediately terminate the agent cluster, in order to abandon all unrepairable inconsistent state.