TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 12-06-2007, 10:34 PM   #1 (permalink)
La Vida es Sueño
Advanced Programmer Top Contributor 
 
Wildhoney's Avatar
 
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
Wildhoney is on a distinguished road
Default Firefox slowness caused by memory fragmentation

This is quite a revelation, because I read about a month ago that Mozilla had no idea where Firefox was leaking memory from. It turns out they still haven't a clue, but some smart Alec has managed to figure out what the problem is, and even comes up with some retro-style looking images to describe it over here.

I don't know about you, but when I initially abandoned Internet Explorer and started using Firefox, I was amazed at its speed. I didn't care for all the fancy things as long as it was fast. But these days Firefox really seems to have been fed to the dogs. Open any more than 10 windows and Firefox begins to slurp all your memory. If it weren't for the Javascript debugger called Firebug, I'd have been using Opera by now.
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
Send a message via AIM to Wildhoney Send a message via MSN to Wildhoney Send a message via Yahoo to Wildhoney
Wildhoney is offline  
Reply With Quote
Old 12-06-2007, 10:37 PM   #2 (permalink)
The Addict
Upcoming Programmer Top Contributor 
 
Rendair's Avatar
 
Join Date: Nov 2007
Location: UK
Posts: 319
Thanks: 18
Rendair is on a distinguished road
Default

Yes i agree i only use FireFox for firebug
__________________
www.jooney.co.uk - the online portfolio
Send a message via MSN to Rendair
Rendair is offline  
Reply With Quote
Old 12-06-2007, 10:40 PM   #3 (permalink)
Wizard
Top Contributor 
 
Village Idiot's Avatar
 
Join Date: Sep 2007
Posts: 1,299
Thanks: 17
Village Idiot is on a distinguished road
Default

Open more then 10 of anything and it will get slow... Firefox works great for me, although I dont generally have more then 8 tabs open on more then two windows.
__________________

Village Idiot is offline  
Reply With Quote
Old 12-06-2007, 10:57 PM   #4 (permalink)
La Vida es Sueño
Advanced Programmer Top Contributor 
 
Wildhoney's Avatar
 
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
Wildhoney is on a distinguished road
Default

I can open many windows in Opera and it still appears to run at the same speed as if I only have one open. I can't help but feel the Firefox generation is dying out. Unless they do something quick that is! How many Firefox versions we had in the past week? 2 or 3?
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
Send a message via AIM to Wildhoney Send a message via MSN to Wildhoney Send a message via Yahoo to Wildhoney
Wildhoney is offline  
Reply With Quote
Old 12-06-2007, 11:17 PM   #5 (permalink)
The Acquainted
Inquisitive 
 
WinSrev's Avatar
 
Join Date: Sep 2007
Posts: 133
Thanks: 6
WinSrev is on a distinguished road
Default

As my browsers currently stand at Mem Usage:
firefox.exe = 256,888 K (idle, 9% CPU)
navigator.exe = 52,532 K (idle, 0% CPU) (Netscape)
iexplore.exe = 66,140 K (idle 0% CPU) (IE7)

Just goes to show you hey? Safari was too unstable to load for this test...
Send a message via ICQ to WinSrev
WinSrev is offline  
Reply With Quote
Old 12-06-2007, 11:29 PM   #6 (permalink)
The Acquainted
 
wGEric's Avatar
 
Join Date: Nov 2007
Posts: 166
Thanks: 0
wGEric is on a distinguished road
Default

This is probably what is happening to me and causing Firefox to lock up. Although I don't have very many windows or tabs open.
__________________
Eric
wGEric is offline  
Reply With Quote
Old 12-07-2007, 04:05 AM   #7 (permalink)
The Addict
 
CoryMathews's Avatar
 
Join Date: Nov 2007
Location: USA
Posts: 256
Thanks: 7
CoryMathews is on a distinguished road
Default

have you seen the beta.. crap crap and more crap. i used to love ff when i first got it. and now the only reason its big is because of its add-ons and noone knows of opera, safari sucks on windows, and people dont want to use that thing they call ie. netscape.. who wants to wait a full 5 mins for it to start up.
CoryMathews is offline  
Reply With Quote
Old 12-07-2007, 08:59 AM   #8 (permalink)
Jay
The Contributor
Good Samaritan 
 
Join Date: Dec 2007
Posts: 60
Thanks: 5
Jay is on a distinguished road
Default

Firefox 3 has a lot of improvements, I think.. Have you tried the nightly build? It's better than Beta 1.

@CoryMathews- I've never had any issues concerning startup, except for when I had maybe 10 tabs having to reopen.. Maybe you have massive amounts of RSS/ATOM feeds, bookmarks, and opened tabs? What's your system memory, that could also play a key part in the execution time.
Jay is offline  
Reply With Quote
Old 12-07-2007, 02:23 PM   #9 (permalink)
The Addict
 
CoryMathews's Avatar
 
Join Date: Nov 2007
Location: USA
Posts: 256
Thanks: 7
CoryMathews is on a distinguished road
Default

I will try out the nightly build cause ye im still runnin beta 1. Also its been some time since i loaded up netscape probably about 8-10 months. I only loaded it a couple time and it seemed to take forever. Longer then to load up dreameaver or flash. And no i didnt have any tabs open or feeds. Now im gonna try it out again maybe it was just my comp when i ran it.
CoryMathews is offline  
Reply With Quote
Old 12-07-2007, 02:27 PM   #10 (permalink)
La Vida es Sueño
Advanced Programmer Top Contributor 
 
Wildhoney's Avatar
 
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
Wildhoney is on a distinguished road
Default

What's wrong with Firefox 3 beta 1 exactly? I do have a lot of bookmarks in Firefox. Maybe that's part of the issue? Although the guy who wrote that article seems to think it's an issue with the way Firefox handles its memory allowance - IE, hands it around like chocolate in that wee film... Charlie and the Chocolate Factory. No doubt that'll be on at Christmas.
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
Send a message via AIM to Wildhoney Send a message via MSN to Wildhoney Send a message via Yahoo to Wildhoney
Wildhoney is offline  
Reply With Quote
Old 12-07-2007, 02:32 PM   #11 (permalink)
The Addict
 
CoryMathews's Avatar
 
Join Date: Nov 2007
Location: USA
Posts: 256
Thanks: 7
CoryMathews is on a distinguished road
Default

If i open more then about 3 tabs it stops rendering the current tab. I have to scroll down then back up for it to rerender the page. It has crashed on me countless times (its a beta i expect that). But in short that crack it up to be good enough to change the world and its not much different at all.
CoryMathews is offline  
Reply With Quote
Old 12-07-2007, 02:38 PM   #12 (permalink)
The Wanderer
Newcomer 
 
Join Date: Dec 2007
Posts: 13
Thanks: 2
devolio is on a distinguished road
Default

I've always wondered why some people get this issue with firefox more than others, but...
If you turn off the back cache in about:config, and don't use too many plugins it should be fine. I don't think I've ever had FF crash on me, and I keep 20-40 tabs open for days at a time. I use linux, though.
devolio is offline  
Reply With Quote
Old 12-09-2007, 12:26 AM   #13 (permalink)
The Acquainted
Inquisitive 
 
WinSrev's Avatar
 
Join Date: Sep 2007
Posts: 133
Thanks: 6
WinSrev is on a distinguished road
Default

Quote:
Originally Posted by CoryMathews
have you seen the beta.. crap crap and more crap. i used to love ff when i first got it. and now the only reason its big is because of its add-ons and noone knows of opera, safari sucks on windows, and people dont want to use that thing they call ie. netscape.. who wants to wait a full 5 mins for it to start up.
My Netscape loads instantly... Netscape has always worked when all other browsers have failed miserably.
Send a message via ICQ to WinSrev
WinSrev is offline  
Reply With Quote
Old 12-09-2007, 12:45 AM   #14 (permalink)
The Addict
 
CoryMathews's Avatar
 
Join Date: Nov 2007
Location: USA
Posts: 256
Thanks: 7
CoryMathews is on a distinguished road
Default

well i checked out netscape again and you guys are right it doesnt take long at all to run. It must of just been the version i had a while back. But i dont remember it looking exactly like firefox or maybe firefox from it.. exact same menus, exact same from the url bar down. now imma try if i can install a ff addon to it.

Edit: well shit they are the same thing. i just installed a firefox addon and it works like a charm..
CoryMathews is offline  
Reply With Quote
Old 12-09-2007, 12:50 AM   #15 (permalink)
The Acquainted
Inquisitive 
 
WinSrev's Avatar
 
Join Date: Sep 2007
Posts: 133
Thanks: 6
WinSrev is on a distinguished road
Default

They using the same engine, although they have changed some aspects of it. It has changed a lot since it's original green versions.
Send a message via ICQ to WinSrev
WinSrev is offline  
Reply With Quote
Old 12-09-2007, 02:12 AM   #16 (permalink)
The Contributor
 
Shaun's Avatar
 
Join Date: Sep 2007
Posts: 41
Thanks: 0
Shaun is on a distinguished road
Default

It's a pitty about the memory problem, i use firefox everyday, ive tried opera but firefox has kept me because of the firebugs and web developer plugin, not to meantion foxmarks(bookmark sync.).

I've tried firefox 3b, but havent had a chance to checks it memory usage.
Send a message via MSN to Shaun Send a message via Skype™ to Shaun
Shaun is offline  
Reply With Quote
Old 12-09-2007, 02:52 AM   #17 (permalink)
The Addict
 
CoryMathews's Avatar
 
Join Date: Nov 2007
Location: USA
Posts: 256
Thanks: 7
CoryMathews is on a distinguished road
Default

opera has "foxmarks" its called opera links but its built in by default. Except its only in the beta right not.
CoryMathews is offline  
Reply With Quote
Old 12-09-2007, 03:36 AM   #18 (permalink)
bdm
The Acquainted
Good Samaritan 
 
Join Date: Nov 2007
Posts: 127
Thanks: 14
bdm is on a distinguished road
Default

Quote:
Originally Posted by Shaun View Post
I've tried firefox 3b, but havent had a chance to checks it memory usage.
I'm using it right now and the memory consumption seems to be lower, but I haven't looked too deeply into it.

I wouldn't suggest using it in a production environment since it seems to crash at the worse possible times.
bdm is offline  
Reply With Quote
Old 12-09-2007, 05:00 AM   #19 (permalink)
The Wanderer
 
Rizza's Avatar
 
Join Date: Dec 2007
Location: Orlando, FL
Posts: 23
Thanks: 0
Rizza is on a distinguished road
Default

I haven't had any complaints with Firefox yet, perhaps it's primarily an issue with Windows machines, but it works great on Leopard. It's just too bad Zend Studio has memory leaks... if that weren't the case I'd be in good shape. :(
Rizza is offline  
Reply With Quote
Old 12-09-2007, 03:14 PM   #20 (permalink)
La Vida es Sueño
Advanced Programmer Top Contributor 
 
Wildhoney's Avatar
 
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
Wildhoney is on a distinguished road
Default

Yea, it is only a Windows issue - other operating systems have apparently luckily got it away with it. Before anybody starts bashing Windows though - it is solely a Firefox issue - again, apparently.
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
Send a message via AIM to Wildhoney Send a message via MSN to Wildhoney Send a message via Yahoo to Wildhoney
Wildhoney is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 06:17 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design