web123lai
千年狐狸
千年狐狸
  • UID8036
  • 注册日期2005-08-17
  • 最后登录2019-05-01
  • 发帖数4225
  • 经验13枚
  • 威望1点
  • 贡献值20点
  • 好评度10点
  • 社区居民
阅读:3597回复:8

可能导致内存泄漏和崩溃的Firefox扩展

楼主#
更多 发布于:2007-09-05 23:09
One of the major reasons Firefox is approaching 400 million downloads is because of how customizable the browser is thanks to extensions. In a way Firefox extensions are bittersweet, because they can provide some unique and useful features, but at the same time they can cause some unwanted problems.
It’s been well over a year since I last took a look at the issues some popular Firefox extensions caused. Most of the extensions listed there caused crashes, memory leaks, and excessive CPU usage. Since then, a Leak Monitor extension has been created to notify users when a certain type of memory leak occurs. This has successfully helped dozens of developers eliminate memory leaks in their extensions.
Unfortunately not all of the problems have not been solved when it comes to the extensions. Some can still cause Firefox to crash, leak memory, or make your CPU usage skyrocket. Today I thought that I would revisit the current status of extensions to see which ones are still causing the problems.
To find the extensions that have problems, I turned to the Mozilla Knowledgebase as well as their bug tracker. I was able to uncover more than a dozen extensions that have performance related issues, and I’m assuming you’re using the most recent versions of the extensions as well as the latest version of Firefox. You’re sure to have even more problems if you’re using older versions of Firefox or extensions that are outdated.
Below is the list that I came up with, and along with each extension I mention the issue along with any known fixes.
Note: You may or may not experience the problems mentioned. If you haven’t had a problem with an extension there is no sense in removing it.

    * Adblock
      Issue: Has been known to crash Firefox when trying to use Gmail Chat.
      Fix: None available right now. It’s recommended that the extension be removed if you use Gmail Chat.
    * All-in-One Gestures
      Issue: Can cause Firefox to crash, and conflicts with the inline spellchecker on Linux and OS X.
      Fix: None available right now. It’s recommended that the extension be removed if you’re using Linux or OS X.
    * Fasterfox
      Issue: Can interfere with website access, and problems may continue even if Fasterfox is removed.
      Fix: Reset the defaults or start with a new profile in Firefox. Also make sure that you have prefetching disabled in the extension.
    * Firebug
      Issue: Causes excessive CPU usage
      Fix: Disable Firebug when it’s not being used, or create a separate profile to use it in.
    * ForecastFox
      Issue: Memory leaks due to satellite imagery.
      Fix: It’s recommended that the extension be removed, or you can install an older version without the satellite imagery.
    * Google Browser Sync
      Issue: Causes excessive CPU usage with GIF animations.
      Fix: None available right now. It’s recommended that the extension be removed.
    * Google Web Accelerator
      Issue: Crashes Firefox when closing the browser.
      Fix: None available right now. It’s recommended that the extension be removed.
    * IE Tab
      Issue: Memory leaks
      Fix: It’s recommended that the extension be removed, or you can install IE View Lite as an alternative.
    * Loki
      Issue: Memory leaks
      Fix: None available right now. It’s recommended that the extension be removed.
    * Media Player Connectivity
      Issue: Causes Unresponsive Script Warnings
      Fix: None available right now. It’s recommended that the extension be removed.
    * Mouseless Browsing
      Issue: Causes excessive CPU usage
      Fix: None available right now. It’s recommended that the extension be removed.
    * SessionSaver
      Issue: Memory leaks
      Fix: Use Session Manager instead.
    * Tabbrowser Extensions (TBE)
      Issue: Slows down Firefox, conflicts with other extensions, and can stop Firefox from working.
      Fix: It’s recommended that the extension be removed, or you can install Tab Mix Plus instead.

People running Firefox 3 right now should be careful if using the ForecastFox or FoxClocks extensions. Both of those are known to have memory leaks (ForecastFox report here and FoxClocks report here).
The extensions that I’ve listed above are all currently known to have some sort of problem. The bad news is that not all of the extensions have been as thoroughly tested as the ones mentioned here, and that’s because Mozilla relies on people like you to submit bug reports when you encounter an issue. If you frequently notice memory leaks, try a fresh Firefox profile, and then install the extensions one by one until you find the culprit. The odds are pretty good that the leak will be the result of one of your “more complex” extensions, and so you may want to start with those.
Additional resources from Mozilla include the Reducing Firefox Memory Usage page and the long list of Problematic Extensions.

原文地址:cybernetnews.com
maryjeck
火狐狸
火狐狸
  • UID9565
  • 注册日期2005-11-03
  • 最后登录2017-11-15
  • 发帖数281
  • 经验72枚
  • 威望0点
  • 贡献值44点
  • 好评度1点
  • 社区居民
  • 忠实会员
1楼#
发布于:2007-09-05 23:09
那我一般的东西不能用了??
viewtheard
千年狐狸
千年狐狸
  • UID2383
  • 注册日期2005-01-20
  • 最后登录2024-04-29
  • 发帖数1974
  • 经验483枚
  • 威望1点
  • 贡献值360点
  • 好评度20点
  • 社区居民
  • 忠实会员
2楼#
发布于:2007-09-05 23:09
我装了47个扩展一点问题都没有,开网页飞快,比op还快

Application: Firefox 2.0.0.6 (2007072518)
Operating System: WINNT (x86-msvc)

- Adblock Plus 0.7.5.1
- Adblock Plus: Element Hiding Helper 1.0.1
- All-in-One Sidebar 0.7.1
- Autofill Forms 0.7.0.2
- Autohide 1.1.5
- AutoSlideshow 0.2.1
- BatchDownload 1.1.5
- BBCodeXtra 0.2.5.6
- CacheViewer 0.4.3
- ChatZilla 0.9.78.1
- Controle de Scripts 0.5.0.1
- Cooliris Previews 2.4.2
- Copy Link Name 1.2.4
- CuteMenus - Crystal SVG 1.9.1
- del.icio.us Bookmarks 1.5.43
- DOM Inspector 1.8.1.6
- Download Statusbar 0.9.5.1
- DownloadHelper 2.4.1
- Extension List Dumper 1.8.0
- Firebug 1.05
- FireGoogleCache 0.1.2
- FishEyeTabs 0.14.4
- Fission 0.8.8
- FoxyProxy 2.5.3
- FxIF 0.2.3
- Grab and Drag 2.1
- Greasemonkey 0.7.20070607.0
- Hit-a-Hint 0.9.1
- IDM CC 4.0
- Internote 2.1.4
- Location Navigator 0.6.2
- Locationbar² 0.9.1
- Mouse Gestures 1.5.2
- NoScript 1.1.6.16
- Paste and Go 2 0.8
- RefControl 0.8.9
- Restart Firefox 0.3
- Sage 1.3.10
- ScribeFire 1.4.2
- Searchbar Autosizer 1.3.7
- Stop Autoplay 0.6.2
- Stylish 0.5.2
- Tab Effect 1.1
(Disabled)
- Table Repairer 0.4.3.1
- TargetAlert 0.8.9.8
- Tiny Menu 1.4.4
- Twitterbar 0.0.6
- Update Scanner 2.0.13
(Disabled)
- User Agent Switcher 0.6.10
My Technical Blog: http://art-technical.blogspot.com/
kmc
kmc
管理员
管理员
  • UID165
  • 注册日期2004-11-25
  • 最后登录2022-09-22
  • 发帖数9186
  • 经验397枚
  • 威望1点
  • 贡献值124点
  • 好评度41点
  • 忠实会员
  • 终身成就
  • 社区居民
3楼#
发布于:2007-09-05 23:09
我能,无限可能
Waterfox Current和Firefox Nightly都用,逐渐走出XUL扩展依赖
hill
狐狸大王
狐狸大王
  • UID4423
  • 注册日期2005-03-26
  • 最后登录2020-09-09
  • 发帖数344
  • 经验131枚
  • 威望0点
  • 贡献值90点
  • 好评度3点
  • 社区居民
  • 忠实会员
4楼#
发布于:2007-09-05 23:09
有两个我用的扩展
media player connectivity
ie tab
另外不知道adblock plus算不算。
而我用windows所以aiog没有问题
abc@home
千年狐狸
千年狐狸
  • UID6047
  • 注册日期2005-05-16
  • 最后登录2011-01-01
  • 发帖数1681
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度1点
5楼#
发布于:2007-09-05 23:09
Tabbrowser Extension 和 AdBlock (原味) 可是为 FB/FF 打江山的开国功臣啊,竟成为内存问题的代罪羔羊  



WINXP SP2 MAXTHON (UNICODE) PROXOMITRON
leonary
千年狐狸
千年狐狸
  • UID4095
  • 注册日期2005-03-16
  • 最后登录2016-12-24
  • 发帖数1908
  • 经验11枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 社区居民
6楼#
发布于:2007-09-05 23:09
扩展的竞争之激烈,远甚于其他软件,上手难度低,用户群又大。现在怕是没什么人用TBE和0.5的Adblock了。问题就是问题,ADblock漏内存又不是今天才捅出来的。

不过这两个扩展有两个很酷的功能还是很怀念,TBE的可以右键单击关闭tab,AD 0.5可以shift+双击屏蔽文字,尤其前者,我为了这个功能忍了它的速度很久。

要说内存泄漏最离谱的还是elipse的CDT,一打开内存直接奔400M去了
再狡猾的猎手也斗不过好狐狸
fang5566
管理员
管理员
  • UID3719
  • 注册日期2005-03-07
  • 最后登录2024-04-25
  • 发帖数18483
  • 经验4837枚
  • 威望5点
  • 贡献值4316点
  • 好评度1116点
  • 社区居民
  • 最爱沙发
  • 忠实会员
  • 终身成就
7楼#
发布于:2007-09-05 23:09
TBE已被AMO从其网站中移除,谁知道为什么?
Firefox More than meets your experience
jun0717
火狐狸
火狐狸
  • UID4176
  • 注册日期2005-03-19
  • 最后登录2014-08-02
  • 发帖数242
  • 经验13枚
  • 威望0点
  • 贡献值4点
  • 好评度0点
  • 社区居民
8楼#
发布于:2007-09-05 23:09
Adblock plus、Fasterfox

名单中有
游客

返回顶部