View Single Post
Old 01-29-2013, 04:35 AM   PM User | #6
rnd me
Senior Coder

 
rnd me's Avatar
 
Join Date: Jun 2007
Location: Urbana
Posts: 3,554
Thanks: 9
Thanked 480 Times in 463 Posts
rnd me is a jewel in the roughrnd me is a jewel in the roughrnd me is a jewel in the roughrnd me is a jewel in the rough
Quote:
Originally Posted by Old Pedant View Post

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.
__________________
my site (updated 5/13)
STATS (2013/5) HTML5:90.2% MOB:15.2% IE7:0.5% IE8:8.4% IE9:8.5% IE10:8.5%
rnd me is online now   Reply With Quote