Quote:
Originally Posted by Old Pedant
Likely the theoretical maximum in most JavaScript implementations is 4 gigabytes or 2 gigacharacters, depending on implementation. Remember that all JavaScript strings are Unicode strings, so that normally means 2 bytes per character. (At least one source--at Google--says, though, that the maximum is about 512MB--or 256 megacharacters--for Chrome.)
But that's all kind of moot: The real limit will almost surely depend on how much space the operating system has allocated for the current browser. After all, the browser has to share memory space with all the other programs executing in your computer.
|
V8 has a 1gb/instance default pool size, no matter how much RAM the device has. you can use command-line switches to alter that, but you shouldn't be needing that much ram, considering the async storage options available these days.