减少 firefox 的内存占用
firefox 是一个非常优秀的浏览器,但是其内存占用也是非常大的,如何有效减少 firefox 的内存使用呢?
- 不要使用非必需的扩展,特别是有负面效应的扩展,对于使用 adblock 的用户,赶快卸载它吧,使用 adblock plus 来代替。
- 如果在安装某主题或扩展后,firefox 的内存占用明显变大了,可以启动 firefox 的安全模式进行调试。如何启动呢?Windows 下在”运行”中键入 firefox -safe-mode,linux 和 freebsd 下在 X11的终端中键入 /path/firefox -safe-mode,下面是启动界面的截图。

- 在 about:config 中将 browser.cache.memory.capacity 和 browser.sessionhistory.max_total_viewers 设置成合适的值,这两个变量对 firefox 的内存占用影响较大,config.trim_on_minimize(只用于 Windows)的作用是在最小化 firefox 时将内存交换到虚拟内存,如果设置为 true,一些低配置的电脑恢复到最大化时可能会比较迟钝。
This entry was posted on Wednesday, November 14th, 2007 at 7:18 pm and is filed under firefox. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.



Centeur November 17th, 2007 at 12:26 pm | reply
优化版大多是在编译的时候加入一些参数来提升性能,不过,貌似 ff 的内存泄漏问题一直没得到很好的改善。