主题:【原创】Chrome进程管理(1)---启动模式 -- 素里太守
前些天太忙,现在终于可以上西西河了。还是觉得计算内存所需不应该是特别困难的问题。只是每个产品的规则不一样。
原文基本上是对于One Process Per Tab的RAM的疑问。具体来说:
Assuming IE binary code and libraries fit in 10 MB and if say user opens 10 tabs. The result:
10 MB x 10 = 100 MB
This is wrong because memory is shared. 100MB is just the virtual memory.
结论是很难正确的计算CHROME的内存所需.
其他人的跟帖:
跟帖1.I think you’re incorrect in your assumptions and I sincerely hope google will prove you incorrect. Actually, the linux philosophy often is ‘less is more’ and this can very well be applied to google chrome. If they split up in the right parts they end up with single window renderers as seperate applications and more stuff split into small binaries. Something I suspect microsoft is doing is loading instances of plugins for all pages, even if they don’t need them. But google is not microsoft. The way google employees work on open source projects seems way better than anything I’ve ever seen from microsoft, and I suspect that google will again deliver a good product.
I can imagine google chrome eating more resources than midori, epiphany or firefox (3), but I don’t think it will be the next microsoft product memory usage wise.
跟帖 2: What causes issues for me with firefox is not how much memory a tab uses, but that closing a tab doesn’t cause the memory use to go down. I have to restart firefox a few times a day otherwise it will slowly eat all the free memory and swap space on my system.
- 相关回复 上下关系8
压缩 2 层
🙂我有点糊涂了 邓侃 字388 2008-09-17 01:58:51
🙂I have the same question 中人 字58 2008-09-23 12:15:10
🙂转帖过来 邓侃 字403 2008-09-23 17:04:50
🙂当然=)
🙂这个算法太naive 配额他 字493 2008-09-30 18:38:37
🙂多谢! 中人 字218 2008-10-03 20:24:10
🙂process-per-site的用途 邓侃 字160 2008-09-16 20:59:18
🙂可以提高共享度 配额他 字116 2008-09-16 21:09:36