You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 9, 2022. It is now read-only.
I have noticed that whenever filters have to be reloaded, the memory footprint baseline of uBlock ever inches up. There is no memory leaks, it's just that it seems when temporarily handling MB of data (filter loading/parsing), the browser seems to keep stuff around and this is out of control of the extension. HTTPSB suffers the same problem, and as far as I can tell, other extensions too.
Since in uBlock nothing is temporary (as opposed to HTTPSB), when filters need reloading, simply force a reload of the extension, this way a new background page is created, all clean and tidy.
The text was updated successfully, but these errors were encountered:
Need to look into this more, to find out whatever can mitigate the memory footprint climbing when all filters are reloading. Somehow it appears a lot of stuff are stuck in chromium's GC tree. Restarting the extension would probably solve this, but this has the annoying (I suppose) side effect of the extension's tab being closed. Advantage: very simple to implement, I could just add another apply button named Apply changes and restart.
With ee81436#diff-6, it is now an even more attractive idea, had the net filters with a visible counterparts can be applied on already opened web pages when uBlock is launched.
The best time to re-launch would be after a selfie has been generated.
I have noticed that whenever filters have to be reloaded, the memory footprint baseline of uBlock ever inches up. There is no memory leaks, it's just that it seems when temporarily handling MB of data (filter loading/parsing), the browser seems to keep stuff around and this is out of control of the extension. HTTPSB suffers the same problem, and as far as I can tell, other extensions too.
Since in uBlock nothing is temporary (as opposed to HTTPSB), when filters need reloading, simply force a reload of the extension, this way a new background page is created, all clean and tidy.
The text was updated successfully, but these errors were encountered: