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

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

问题描述

我在一个选项卡上通过 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 中从 shell 启动 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 进程 (tab) & 的最大内存使用量我如何增加它?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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