X
Nhấn vào đây để đến phiên bản di động của trang web.

Diễn đàn trợ giúp

Chủ đề này đã đóng và được lưu lại. Vui lòng hỏi một câu hỏi mới nếu bạn cần giúp đỡ.

Firefox use of resources on Windows; Linux and Mac

Được đăng

Firefox uses way too much resources on windows. This includes memory and cpu. I have done extensive research online. This is not an issue of extensions or profile. It seems to be a matter of javascript. If you turn it off then things get better but too many sites rely on javascript.

What is needed is a fix not work arounds. Firefox needs to put a leash on javascript resource usage. It should run but only in the tab that is currently open and with easily adjustable limits. I don't want my machine to be handed over to some web site to run whatever they want on it. However I do want to be able to access legitimate features that require javascript. There are many sites who do not seem to respect the difference. Therefore it fall on the browser to decide it for them. Maybe we need a sort of built in noscript.

Firefox uses way too much resources on windows. This includes memory and cpu. I have done extensive research online. This is not an issue of extensions or profile. It seems to be a matter of javascript. If you turn it off then things get better but too many sites rely on javascript. What is needed is a fix not work arounds. Firefox needs to put a leash on javascript resource usage. It should run but only in the tab that is currently open and with easily adjustable limits. I don't want my machine to be handed over to some web site to run whatever they want on it. However I do want to be able to access legitimate features that require javascript. There are many sites who do not seem to respect the difference. Therefore it fall on the browser to decide it for them. Maybe we need a sort of built in noscript.

Chi tiết hệ thống bổ sung

Phần bổ trợ đã cài đặt

  • Next Generation Java Plug-in 10.51.2 for Mozilla browsers
  • NPRuntime Script Plug-in Library for Java(TM) Deploy
  • iTunes Detector Plug-in
  • Shockwave Flash 11.8 r800
  • The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
  • Windows Presentation Foundation (WPF) plug-in for Mozilla browsers
  • DRM Netscape Network Object
  • Npdsplay dll
  • DRM Store Netscape Plugin
  • Adobe Acrobat Plug-In Version 7.00 for Netscape

Ứng dụng

  • Chuỗi đại diện người dùng: Mozilla/5.0 (Windows NT 5.1; rv:26.0) Gecko/20100101 Firefox/26.0

Thông tin chi tiết

user633449
  • Top 25 Contributor
1539 giải pháp 10745 câu trả lời
Được đăng

for one thing you have a very old version of Firefox, 26. Try with the most recent version of Firefox 29.0.1. Or better yet, to get the latest and greatest, try a pre-release build, some of which have better garbage collection that will be released in Firefox soon. If you have an actual reproducible bug (That happens every time in a fresh profile and can be narrowed down to a specific cause) then this thread is in the wrong place and you should file a bug report at bugzilla.mozilla.org

If you don't have a 100% reproducible case in a fresh profile with all updates (including windows updates, graphics driver updates, plugins updates, Firefox updates, malware scans, etc.) then you should do that and thats where this site can step in to help.

for one thing you have a very old version of Firefox, 26. Try with the most recent version of Firefox 29.0.1. Or better yet, to get the latest and greatest, try a pre-release build, some of which have better garbage collection that will be released in Firefox soon. If you have an actual reproducible bug (That happens every time in a fresh profile and can be narrowed down to a specific cause) then this thread is in the wrong place and you should file a bug report at bugzilla.mozilla.org If you don't have a 100% reproducible case in a fresh profile with all updates (including windows updates, graphics driver updates, plugins updates, Firefox updates, malware scans, etc.) then you should do that and thats where this site can step in to help.

Người tạo câu hỏi

The browser I am using now is irrelevant and you should not assume that is the one I am referring to. I am talking about several different versions of Firefox running on at least 5 different machines all exhibiting the same general class of problems. The issue is not a "bug" it is a matter of general design. The problem occurs on a vast range of Firefox versions; operating systems and hardware including these below which I personally have.

Mac OS X; Centos 6.2; Centos 6.5; Windows 7; Windows XP

Blaming a problem on malware or graphic drivers is not helpful. The software should be robust enough not to allow anything to overuse resources period. I have been in this business for over 25 years and know that well written software do not exhibit this kind of behavior. I suppose I could go in and fix it myself if need be but I was hoping the developer community would be receptive to this issue.

I am not the only one seeing it. Everyone knows this is a problem and for some reason not being fixed.

The browser I am using now is irrelevant and you should not assume that is the one I am referring to. I am talking about several different versions of Firefox running on at least 5 different machines all exhibiting the same general class of problems. The issue is not a "bug" it is a matter of general design. The problem occurs on a vast range of Firefox versions; operating systems and hardware including these below which I personally have. Mac OS X; Centos 6.2; Centos 6.5; Windows 7; Windows XP Blaming a problem on malware or graphic drivers is not helpful. The software should be robust enough not to allow anything to overuse resources period. I have been in this business for over 25 years and know that well written software do not exhibit this kind of behavior. I suppose I could go in and fix it myself if need be but I was hoping the developer community would be receptive to this issue. I am not the only one seeing it. Everyone knows this is a problem and for some reason not being fixed.
user633449
  • Top 25 Contributor
1539 giải pháp 10745 câu trả lời
Được đăng

Unless you have a 100% reproducible test case that meets the following criteria, engineers can't fix it (Engineers need to know where to look before they can fix a problem)

  • Latest version of Firefox (the latest nightly build is best)
  • Most updated OS
  • Updated graphics drivers
  • A system free of malware
  • Update plugins (your plugins are horrible out of date FYI)
  • A fresh profile
  • A testcase and steps to reproduce so that anyone at any time can make the exact same issue happen on any similar machine

All of these things can negatively affect resource usage, and unless you have these, there is no actionable bug to be fixed. Once you have all these, file a bug with clear Steps to reproduce.

If you are developer you know that just someone coming and saying "Your program sucks and uses all the things!" isn't a useful bug report (unless your program is literally 200 lines of code). For something as large and complex as Firefox, we need to know where to look in order to fix something. Is it a bug that happens when a specific Javascript function is called? Then that's in one area of the code. Is it a bug when an image of X size is in a webpage? That's in another area of the code. All of this information is vital and if you really are as experienced of a software developer as you say you are you would understand that, and if you really do want to help you should have no problem providing this information.

Unless you have a 100% reproducible test case that meets the following criteria, engineers can't fix it (Engineers need to know where to look before they can fix a problem) * Latest version of Firefox (the latest nightly build is best) * Most updated OS * Updated graphics drivers * A system free of malware * Update plugins (your plugins are horrible out of date FYI) * A fresh profile * A testcase and steps to reproduce so that anyone at any time can make the exact same issue happen on any similar machine All of these things can negatively affect resource usage, and unless you have these, there is no actionable bug to be fixed. Once you have all these, file a bug with clear Steps to reproduce. If you are developer you know that just someone coming and saying "Your program sucks and uses all the things!" isn't a useful bug report (unless your program is literally 200 lines of code). For something as large and complex as Firefox, we need to know where to look in order to fix something. Is it a bug that happens when a specific Javascript function is called? Then that's in one area of the code. Is it a bug when an image of X size is in a webpage? That's in another area of the code. All of this information is vital and if you really are as experienced of a software developer as you say you are you would understand that, and if you really do want to help you should have no problem providing this information.

Người tạo câu hỏi

I realize what you are saying but I already gave the basic problem and a suggested solution.

Problem: The browser is not putting limits on resource usage. It allows scripts and plug-ins to overtax the system. Solution: Add knobs and defaults that limit resource usage. Let the user easily put limits on each tab and implement the equivalent of UNIX "nice" on tabs.

For test all you have to do is the following: 1) Open 2 windows with 6 tabs each. 2) Point them to huffingtonpost or a similar site which is heavy on scripts. Then click on any article.

There you go. We have had discussions on it on various mozilla forums. If it is of any help it also hangs other browsers but that is hardly any solace.

I want Firefox to succeed. I don't want to move to another browser because I trust the Firefox model. So lets work together and fix this instead of letting it drive people away. I will help debug and fix this thing if you want to work with me.

I realize what you are saying but I already gave the basic problem and a suggested solution. Problem: The browser is not putting limits on resource usage. It allows scripts and plug-ins to overtax the system. Solution: Add knobs and defaults that limit resource usage. Let the user easily put limits on each tab and implement the equivalent of UNIX "nice" on tabs. For test all you have to do is the following: 1) Open 2 windows with 6 tabs each. 2) Point them to huffingtonpost or a similar site which is heavy on scripts. Then click on any article. There you go. We have had discussions on it on various mozilla forums. If it is of any help it also hangs other browsers but that is hardly any solace. I want Firefox to succeed. I don't want to move to another browser because I trust the Firefox model. So lets work together and fix this instead of letting it drive people away. I will help debug and fix this thing if you want to work with me.

Được chỉnh sửa bởi rabii vào

user633449
  • Top 25 Contributor
1539 giải pháp 10745 câu trả lời
Được đăng

Again, you aren't giving clear STR (in fact in many benchmarks Firefox 29 uses less resources than previous versions and other browsers), so I can't help you Your solution is equally vague.

Once you decide if you want to be helpful or not, please go ahead and come back. Until then, goodbye.

Again, you aren't giving clear STR (in fact in many benchmarks Firefox 29 uses less resources than previous versions and other browsers), so I can't help you Your solution is equally vague. Once you decide if you want to be helpful or not, please go ahead and come back. Until then, goodbye.

Người tạo câu hỏi

OK this is not going anywhere so thanks for the responses but next time I will not be coming to this forum.

OK this is not going anywhere so thanks for the responses but next time I will not be coming to this forum.
user633449
  • Top 25 Contributor
1539 giải pháp 10745 câu trả lời
Được đăng

Locking this thread.

For future users, if you want to file a bug on Firefox slowness, please use the steps above to make sure it's high quality. Thanks!

Locking this thread. For future users, if you want to file a bug on Firefox slowness, please use the steps above to make sure it's high quality. Thanks!