4 ms·
Expected: Runtime (browser) tries to reallocate the array; requests heap memory from the OS. OS obliges until paging file is full, then warns; browser does some
by psyc 9y ago
Expected: Runtime (browser) tries to reallocate the array; requests heap memory from the OS. OS obliges until paging file is full, then warns; browser does something graceful like halting JS on the page. System is slow from disk churning, but nothing crashes.