chrome进程(标签)的最大内存使用量&我该如何增加呢? [英] Max memory usage of a chrome process (tab) & how do I increase it?

查看:1182
本文介绍了chrome进程(标签)的最大内存使用量&我该如何增加呢?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在通过一个选项卡上的chrome运行数千个https客户端,我似乎在浏览器中达到了极限,当我检查任务管理器时,该选项卡的chrome进程正在使用高达897MB的内存,因此我假设有一些限制(900MB〜).

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~).

周围是否有任何Chrome向导可以解释这一点?如果可以增加最大限制,这样我也可以通过一个选项卡运行更多客户端,这也是理想的选择.

Are there any chrome wizards around that could explain this? Also it would be ideal if I could increase the max limit so I am able to run more clients through a single tab.

推荐答案

默认情况下,v8在32位系统上的内存限制为512MB,在64位系统上的内存限制为1.4GB.通过将--max_old_space_size设置为32位最大为1024(1 GB),将64位最大为4096(4GB),可以提高该限制.在Linux中从外壳启动Chrome时,或者在Windows中作为快捷方式的参数,您应该能够设置此参数.

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.

这篇关于chrome进程(标签)的最大内存使用量&我该如何增加呢?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆