Closed Bug 428668 Opened 17 years ago Closed 14 years ago

Firefox 3.0b5 very slow to start (30-60 sec) with 3900 fonts

Categories

(Firefox :: General, defect)

3.0 Branch
x86
Windows Vista
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 600713

People

(Reporter: jeanfcyr, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9b5) Gecko/2008032620 Firefox/3.0b5 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9b5) Gecko/2008032620 Firefox/3.0b5 When I start Firefox 3b5, it takes between 30 to 60 seconds before the window opens up. During that time, I see the disk light indicator always on meaning the disk is swapping. I used perform to see what was going on and for some reason, firefox opens all the fonts files in my /font directory (i have a lot of fonts) and I see also activity on my swap file. I get this problem at any time, even after a clean boot with no other applications opened. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Sorry, typo. I used perfmon not perform. Still haven't had my coffee.
Do you get this also in the Firefox safemode ? - http://kb.mozillazine.org/Safe_Mode or with a new, additional test profile ? - http://kb.mozillazine.org/Profile_manager
Asking the obvious questions: How much RAM do you have in this system? (and how much of that is free?) How much memory does Firefox end up using once loaded?
(In reply to comment #2) > Do you get this also in the Firefox safemode ? > - http://kb.mozillazine.org/Safe_Mode Yes > or with a new, additional test profile ? > - http://kb.mozillazine.org/Profile_manager > I'm trying it now. I'll try for a couple of days. Once it actually loads, when I close it and open it again, it's normal for a while.
(In reply to comment #3) > Asking the obvious questions: > > How much RAM do you have in this system? (and how much of that is free?) > 2GB, 60% free > How much memory does Firefox end up using once loaded? > 26 Meg
(In reply to comment #4) > (In reply to comment #2) > > Do you get this also in the Firefox safemode ? > > - http://kb.mozillazine.org/Safe_Mode > > Yes > > > or with a new, additional test profile ? > > - http://kb.mozillazine.org/Profile_manager > > > > I'm trying it now. I'll try for a couple of days. Once it actually loads, when > I close it and open it again, it's normal for a while. > OK, reproduced it with a different profile. I see firefox opening every single font and produces a lot of activity on pagefile.sys. It also generates many K of pagefaults. I have no such issue with IE7
(In reply to comment #4) > I'm trying it now. I'll try for a couple of days. Once it actually loads, when > I close it and open it again, it's normal for a while. This part is normal. After the first time anything is loaded off the HD the OS will usually try to cache it in RAM so as to not have to load it off the HD again for a while. This is one of the top reasons why more RAM makes for a speedier computer. (In reply to comment #0) > I used perform to see what was going on and for some reason, firefox opens all > the fonts files in my /font directory (i have a lot of fonts) and I see also > activity on my swap file. Exactly how many is "a lot"?
(In reply to comment #7) > (In reply to comment #4) > > I'm trying it now. I'll try for a couple of days. Once it actually loads, when > > I close it and open it again, it's normal for a while. > > This part is normal. After the first time anything is loaded off the HD the OS > will usually try to cache it in RAM so as to not have to load it off the HD > again for a while. This is one of the top reasons why more RAM makes for a > speedier computer. > > (In reply to comment #0) > > I used perform to see what was going on and for some reason, firefox opens all > > the fonts files in my /font directory (i have a lot of fonts) and I see also > > activity on my swap file. > > Exactly how many is "a lot"? > hmm, 3900 fonts. Hadn't actually counted them before. Is there some parameter to set in Firefox to ask it only to load standard internet fonts?
Just popped open a WinXPsp2 box... 72 fonts in there. (no Office) Yeah, 3900 qualifies as a bit more than "a lot". :p Firefox shouldn't need an option to not load everything it sees. It's obviously not expecting to have this many, and probably should be made smart enough to only load what it might actually use. An option might be needed to allow it to load the whole pile, but that shouldn't be the default.
Let me know if you want me to apply a fix to see if that's really the cause.
Reporter, are you still seeing this issue with Firefox 3.6.x or later in safe mode? If not, please close. These links can help you in your testing. http://support.mozilla.com/kb/Safe+Mode http://support.mozilla.com/kb/Managing+profiles
Whiteboard: [CLOSEME 2010-09-15]
Version: unspecified → 3.0 Branch
No reply, INCOMPLETE. Please retest with Firefox 3.6.10 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → INCOMPLETE
A new massive discussion on how to fix startup font loading has begun in bug 600713, so I'm duping this there. That's now blocking Firefox 4.0 so something will finally be done to improve this for those few who are getting it.
Resolution: INCOMPLETE → DUPLICATE
Summary: Firefox 3b5 very slow to start (30-60 sec) → Firefox 3.0b5 very slow to start (30-60 sec) with 3900 fonts
Whiteboard: [CLOSEME 2010-09-15]
You need to log in before you can comment on or make changes to this bug.