Re: new ArrayBuffer(3*1024*1024*1024) crashes the page in Go...
by strictnein on Tuesday November 24, 2015 @09:37AM
(#10620916)
Agreed. Just adding some info to what was stated in the Tweet, since I'm sure not everyone likes to just run whatever bit of random code that's posted on Twitter :)
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"