Hi I am running several thousand https clients through chrome on one tab, I seem to be hitting a limit in the browser, when I check task manager the chrome process for that tab is using a whopping 897MB so I am assuming there is some sort of limit (900MB~).
Are there any chrome wizards around that could explain this because I cannot find anything on the net, also it would be ideal if I could increase the max limit so I am able to run more clients through a single tab.
Thanks!
Aggregated answer based on Mihai Tomescu's answer and other resources:
Maximum memory per tab seems to be about 1.8GB when running a x64 Windows OS, according to this answer
Increasing tab memory works fine by changing Chrome link address from
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
" to"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --max_old_space_size=4096
The difference can be quickly tested using this huge image which will crash Chrome using default memory settings (Google Chrome ran out of memory while trying to display this webpage), but will render fine after increasing the memory limit.
By default v8 has a memory limit of 512MB on 32-bit systems, and 1.4GB on 64-bit systems. The limit can be raised by setting
--max_old_space_size
to a maximum of 1024 (1 GB) on 32-bit and 4096 (4GB) on 64-bit. You should be able to set this parameter when launching Chrome from a shell in Linux, or as an argument to the shortcut path in Windows.