new ArrayBuffer(3*1024*1024*1024) crashes the page in Google Chrome
twitter.com
twitter.com
I suspect it is probably overflowing int max somewhere along the line, some googling shows this is also a buffer size for system calls such as read.
> "inspected target disconnected"
The page provides a somewhat more informative message:
> "... Closing the apps and tabs that you don't need may help by making more memory available"