Closed
Bug 694307
Opened 15 years ago
Closed 15 years ago
Memory Leak - Its time to address the issue
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: developer, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1
Build ID: 20110928134238
Steps to reproduce:
I see numerous reports re. memory leak for Firefox (Thunderbird is just as bad), yet these always get marked as "Works For Me". Well, thats a nice way to avoid the issues while Firefox just gets worse and worse. Yes, its also a simple matter to blame plugins, again to avoid the issues.
Its TIME for the developers to pull their heads out and address the issues!
Firefox regularly falls into massive memory usage - for myself 600MB +
This is very simple to fix using Firemin, however its now time for the Firefox developers to stop dodging this problem and FIX IT!
Actual results:
After running Firefox for several hours memory usage exeeds 600MB
Expected results:
Memory usage should stay below 200MB
| Reporter | ||
Comment 1•15 years ago
|
||
Typo above, should be: Memory usage should stay below 2000MB
| Reporter | ||
Comment 2•15 years ago
|
||
Eh! Memory usage should stay below 2MB
Comment 3•15 years ago
|
||
Assuming you meant a more serious 2GB, you can reproduce and report by starting Firefox in safe mode, accumulating 'too much' memory usage, and posting a (possibly url-redacted) copy of your about:memory.
This bug report isn't useful. The browser is never going to use less than 2 MB of memory.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
| Reporter | ||
Comment 5•15 years ago
|
||
@Kyle - You are wrong there. Using Firemin I currently have Firefox running at an average of 1800KB. It runs perfectly using this fantastic app, no matter how many instances I run. Without it, Firefox regularly runs over 600MB, sometimes as high as 1.5GB..... thats seriously an issue.
Google "Firefox memory leak". Its a well know problem that you guys seem unwilling to address. I would suggest that you seriously look at Firemin, since clearly the person who put this out there has a solution.
As for the safe mode stuff. I am reporting the bug, not that it hasn't been reported before, but because it keeps getting ignored and Firefox just gets worse with each new release. I won't do more, thats your job.
| Reporter | ||
Comment 6•15 years ago
|
||
"RESOLVED INVALID" .... here we go again *sigh*
We do take leaks seriously. We have a group that meets regularly to deal with them (https://wiki.mozilla.org/Performance/MemShrink), and multiple engineers working full time on reducing memory usage.
Reports like "the browser uses lots of memory after a couple days" aren't really that useful though. We're aware of the problems, but there are lots of underlying issues that have to be found and fixed.
Comment 8•15 years ago
|
||
I'm just going to note here that the majority of what Firemin does is page memory from RAM (very fast) to disk (horribly slow). This doesn't actually reduce the memory usage of Firefox, it just obfuscates it. The operating system already pages memory that's not in use to disk when it needs to free up the space in the much faster RAM, so you're not even gaining functionality.
A solution like Firemin isn't really a solution at all, and is just forcing the program to be slower. It certainly doesn't fix any memory leaks. That's voodoo nonsense.
Furthermore, memory usage is actually shrinking in new releases, not growing.
| Reporter | ||
Comment 9•15 years ago
|
||
Memory usage is getting worse with every release.
As to what you say about Firemin, I think thats just obfuscation. To prove my point, I checked my memory usage which was happily sitting around 1500KB with two Firefox windows open, two tabs open in one window and three tabs open in the other. I turned off Firemin and this immediately jumped to 100,000KB.... nothing had changed with the windows, they were just sitting there. I had things to do, so left it at that for several hours. When I returned, memory usage had jumped to over 318,000KB.
Now, this is just displaying what was already on screen, no browsing, just sitting there. If that is not a memory leak then I don't know what is. If I continue to use Firefox without Firemin, then memory usage always goes above 1.5GB by the end of the day. That is just outrageous.
Firemin does not impact the performance of Firefox in any way whatsoever, other than make it run better.
Comment 10•15 years ago
|
||
(In reply to developer@suomedia.com from comment #9)
> Memory usage is getting worse with every release.
Firefox 7 (and the versions since) have been incorporating the work encouraged by the MemShrink group, so whilst there are definitely still areas of improvement, at least there is now a dedicated effort working on it. With the help of bug reports from people like yourself, we can hopefully shake out as many issues as possible. If you are interested in reading about the work done by MemShrink so far, check out: http://blog.mozilla.com/nnethercote/
> As to what you say about Firemin, I think thats just obfuscation.
...
> Now, this is just displaying what was already on screen, no browsing, just
> sitting there. If that is not a memory leak then I don't know what is. If
> I continue to use Firefox without Firemin, then memory usage always goes
> above 1.5GB by the end of the day. That is just outrageous.
Usage increasing by 1GB without much user input, seems like something worth investigating. However, I think it's going to be best to separate the discussion around how Firemin achieves it's results, from that of the root problem, which is your high memory usage to start with, otherwise I don't think this bug is going to go anywhere.
Please can you:
- Without using Firemin, restart Firefox in safe mode (disables addons and some other features).
- Use Firefox as you normally would, until the memory usage goes up to the ~1.5GB you mentioned in comment 9.
- At that point, open an about:memory tab, paste the results here, along with how many (and what URLs) are open in all the other tabs. Ideally after that close the other tabs, press minimise memory usage in about:memory a few times and then paste the output of about:memory again.
- If usage is much lower when Firefox is run in safe mode, then the likely culprit is an addon, and you could try disabling half of them at a time (and then repeat with half of that) to find out which one it is (if you find the cause, please post it here - thanks!)
Comment 11•15 years ago
|
||
fwiw, firemin, as other "memory extensions" just moves memory as possible to the swap, that means it doesn't save memory and it also makes your performances worse. Don't trust miracles, any app is going to use more memory to improve performances.
| Reporter | ||
Comment 12•15 years ago
|
||
@Marco - Firemin does not noticably impact performance, other than drastically reduce memory useage, which in fact improves performance. When the memory usage in Firefox gets very high, it crawls... and ultimately requires a restart as it locks up completely.
As for extensions, all I have are:
DOM Inspector
Firebug
Javascript Debugger
Page Speed
None of these do anything at all until they are actually used.
You need to log in
before you can comment on or make changes to this bug.
Description
•