4 ms·
I'm not sure if this applies, but I really hope they provide better tools to identify badly behaving webpages. Sometimes when my CPU or memory are being cranked
by acjohnson55 14y ago
I'm not sure if this applies, but I really hope they provide better tools to identify badly behaving webpages. Sometimes when my CPU or memory are being cranked by Firefox, I really just want to kill the one tab out of 50 that's causing all the problems.
- jlgreco 14y agoIt would be great if they could roll such a feature into a convenient UI. Just a magic "Firefox, whatever you are doing.. knock it off" button would be great. It could look at system memory usage and CPU usage, determine if either is high enough that it might cause user distress, and kill whatever tabs are the most likely offenders.
- BrianEatWorld 14y agoI like this idea. A bit like the pause buttons on my VMs. I have this type of issue more with Chrome than Firefox though and it always seems to be related to leaving a tab open with a video for a long time, even if it isn't being played.
- deleted 14y ago[deleted]
- DEinspanjer 14y agoThat isn't currently a target area for FHR. Things pertaining to the performance of particular webpages and such are extremely difficult to tease out of the data in a meaningful way. Not to say we will never include something like that in FHR, just not in the first couple of revisions of it. Have you tried out the about:memory page? It doesn't do CPU, but it is a good way to see what particular pages are hogging memory.
- jlgreco 14y ago> Things pertaining to the performance of particular webpages and such are extremely difficult to tease out of the data in a meaningful way. It seems to me that you could do this "well enough" if you put each page in its own process and let the OS tell you which are burning the CPU. There could/would be edge-cases where a page causing issues would not appear like it was causing issues, looking at it from that level, but it would sure as hell be a good start.
- piyush_soni 14y agoIs it that Chrome is able to do it just because it's a separate process per tab? (It shows memory consumption by each page.) I try to go to the about:memory page every once in a while, but first that doesn't show information in a very intuitive way, and second, NONE OF the 'GC', 'CC', or the 'Minimize Memory Usage' buttons seem to reduce Firefox's memory usage. Sometimes pressing these buttons actually increases the RAM usage (as seen from the Task Manager on Windows) - which is beyond my understanding. The only way to reclaim the 2 GB of my system RAM firefox has captured is to restart it.
- mccr8 14y agoThe garbage collector and cycle collector are run all the time normally, so clicking on those buttons shouldn't have too much effect on memory when you are using the browser normally. They are mostly useful for getting to a settled memory state right after opening a page rather than having to wait a few minutes for it to naturally happen, or in the rare cases where a GC should be triggered but isn't. As for why running the GC might increase RAM usage, I guess it is possible that some memory had been paged out, but running the GC causes the browser to touch all memory, paging it back in. That's just a guess though.
- cm3 14y agoThat would be nice, but I believe Firefox, Opera and Chrome already detect unresponsive tabs and offer closing such a tab and freeze it until you make a decision. Opera has both opera:cpu and opera:memdebug.
- guojh0570 13y agoAnd in fact, after I updated my Firefox to 21.0, it seems that it took more memory than before. I run it on Mac OSX 10.8.3