Firefox Working to Fix Memory Leaks
Christopher Blanc writes "Many Mozilla community members, including both volunteers and Mozilla Corporation employees, have been
helping to reduce Firefox's memory usage and fix memory leak bugs lately. Hopefully, the result of this effort will be that Firefox 3 uses less memory than Firefox 2 did, especially after it has been used for several hours." Here's hoping. Frequent restarts of things on my computer make me furious. I can't imagine why anyone would tolerate such things.
Hey CmdrTaco if those memory leaks piss you off so much why don't you fix them? That's the beauty of open source, you mooch!
I can't imagine why anyone would tolerate such things.
Memory leaks are infuriating, and completely unacceptable. It's just plain bad programming (so much for the "millions of pairs of eyes" thing, huh?). The only reason I still use Firefox is because of adblock. If there were a similar function/feature in IE, I'd be back to using IE.
I don't respond to AC's.
Sometimes the sociology of Firefox bugs is more interesting than the bug itself.
The parent comment has been marked Troll and Flamebait. (Numerous other Slashdot comments discussing the same CPU and memory hogging bug have been marked +5.)
Why so much denial?
Every single machine I use (3 desktops, 1 laptop) has to be forced down on a nearly daily basis if not more, in order to keep the memory available for other applications.
Daily reboots are a Windows problem, not FF. I've got a real clunker of a laptop, 256 MB RAM PIII, that runs FF with Flash and all that but does not have your problem because because I'm using Mepis instead of Windoze. It's nice of Mozilla to make things better.
You know the trolls are out of control when the IE is teh best posts predominate the conversation.
DMCA, Hollings, Palladium. What might have sounded like paranoia is now common sense.
I'm probably replying to a troll, but here goes. What you're saying is that you need the equivalent of a Ph.D. to program in C++ poorly. Exceptions and STL are disgusting and shouldn't even be part of the language, IMHO, and their overuse is a good way to spot a novice programmer. It is precisely the horrible nature of exceptions that is the reason it too so long for them to become usable.
There is nothing that an exception can do that can't be done better with either A. returning reasonable error codes up through the stack (where they might be handled in a useful or interesting way at some point in the future) or B. calling a die() routine if the failure truly is something that truly can never be handled. All exceptions do is make it harder to figure out how you got from point A in the app to point B by suddenly tearing down the entire stack in-between unceremoniously, and simultaneously discouraging the use of cleanup routines at every step along the way, thus encouraging bad code.
Every piece of code I've ever seen with exceptions has been a total mess, and all of them have eventually been rewritten to not use exceptions and suddenly worked a lot better. This isn't a case where more knowledge of how to write code with exceptions helps much, but rather a case where the programmers would have been better off had they never learned that aspect of C++ at all.
STL is just a pile of syntax that basically does what we used to do with void * pointers, just without the flexibility and programmer control (albeit with the possibility of a bit more type safety checking). I have yet to see a single situation where anyone used templates that could not have been done nearly as easily and much more readably without them. It isn't evil, per se, but it is completely unnecessary to understand it as long as you don't have to use it, and the only reason you ever have to use it is if you inherit a project where somebody else used it to begin with.
As for your comments about new and delete, using them correctly doesn't take a lot of in-depth knowledge. It's not that hard to remember that every time you create something, you must destroy it or you'll leak memory. If you can't figure those out, you should be sent back to school before being allowed to touch a single line of code.
Check out my sci-fi/humor trilogy at PatriotsBooks.
And incorrectly. Among foxit's many, numerous bugs is the inability to correctly number the pages, which makes it pretty fucking hard to discuss the document with someone who uses foxit, because eventually you will say "It's on page 8" and they will say "page 8 is blank!" and then you will find out that they use foxit and then you will just have to stop talking to them or possibly beat them to a bloody pulp for wasting so much of your time.
Not that I'm bitter. I'm just really tired of people saying "XYZ is faster than ABC" when the reason XYZ is faster is because it does half of everything incorrectly.
These issues have been reported for years and years now. The fact horrible memory leaks still exist simply underscore how crappy the Firefox coders really are. Putting that into perspective with the fact that Firefox is typically on par or better the IE, really has profound implications for the MS IE developers.
Wow. I think I just scared my self.
STFU, Troll.
STFU, Troll...