Closed
Bug 1261590
Opened 9 years ago
Closed 7 years ago
CPU usage spike and memory leak, possibly provoked by DIFFERENT tree tab plugins
Categories
(WebExtensions :: General, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: squaretriangle, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.7.1
Build ID: 20160318181316
Steps to reproduce:
This bug:
is reproducable in firefox 45.0 in Windows 7, and half of it is reproducable in Iceweasel 38.7.1 in debian. The difference my be accounted for by using different plugins.
The bug _seems_ to happen only when I have one of two DIFFERENT tree-style tab plugins enabled. For Windows and Firefox, this is 'Tree Style Tab' 0.17.2016031101 by Piro. For Debian and Iceweasel, I'm using 'Tab Tree' 1.4.5 by Sergey Zelentsov.
I am reporting it here however, as it may be that the bug occurs without these plugins enabled and that the tree-tab plugin simply alters my tab-opening/closing habits and I inadvertantly use more resources, or if not that, that the bug still lies in the mozilla codebase and that the plugins are inadvertantly exposing a flaw.
If however it is a bug in both respective plugins then it seems a funny coincidence that both have it (unless maybe one 'borrowed' the code of another). I have not been able to get a reply from Piro when I told him about the bug, and I've seen people complain about it in the comments for that plugin.
Actual results:
The bug:
after a certain threshold is crossed, the CPU usage spikes (seen as high as around 30% on my i7 920 windows gaming pc, but only as much as 20% on my i5-4210u cpu (it's never gotten to a completely unusable state on my debian box, the worst is seeing pages freeze up while scrolling, but 20% usage still seems an awful lot).
Witnessed only on windows with the respective plugin, there also seems to be a memory leak. Whether the leak suddenly happens or was occuring the whole time and became exponentially worse up to being noticeable, I don't know, but more than once I've noticed the whole system becoming unresponsive and then seen megabytes per second being eaten in the task manager. it's almost brought my system down more than once (waiting for task manager to acknowledge my inputs for 20 seconds is not fun). I've not seen the memory leak happen on my debian installation (yet) but I've not been using it for very long.
As to the nature of the trigger, I am unsure whether it is # of tabs open, what kind of page said tabs are displaying, how long the app has been running, or what, but it only occurs after a few hours of usage have passed at minimum.
It would be nice if the codebase was altered in such a way that you could throttle individual pages as per their cpu load, but I remember reading once that was technically impossible? While it wouldn't fix the underlying issue it would fix one of the symptoms.
Anyway, wondering if anyone has any clues as to what is causing this. For my personal needs I just need some way of gaining tree-style/vertical tab functionality (this should be standard IMO) without triggering this bug.
Updated•9 years ago
|
Component: Untriaged → Add-ons
Product: Firefox → Tech Evangelism
Version: 45 Branch → unspecified
I've since discovered that adding the flash plugin created the memory leak on the other installation too. Found 7 gigs of ram in use and climbing fast, and 30% cpu load. Without the flash plugin it's just mildly excessive cpu usage. It might be that any tree-tab browsing plugin instigates it but cannot be sure.
Comment 2•7 years ago
|
||
Mass-closing bugs that relate to legacy versions of add-ons or are otherwise no longer worth tracking. Please comment if you think this bug should be reopened.
Sorry for the bugspam. Made you look, though!
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
Assignee | ||
Updated•6 years ago
|
Component: Add-ons → General
Product: Tech Evangelism → WebExtensions
You need to log in
before you can comment on or make changes to this bug.
Description
•