mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Updated Myth: uBlock consumes over 80MB (markdown)
parent
eac10297d3
commit
57a81dc3dc
1 changed files with 6 additions and 2 deletions
|
|
@ -7,7 +7,7 @@ When uBlock launches, it loads all selected filter lists, parses the content, el
|
|||
|
||||
So if you look at the task manager **right after** uBlock has loaded and parsed the filter lists, you will still see uBlock's memory footprint as a result of loading all the filter lists. Still, at this point all this temporary memory has been relinquished to the browser, but the browser hasn't yet collected the freed memory to make it available for reuse.
|
||||
|
||||
If the browser is idle enough, before one minute has elapsed, the browser should be able to [garbage collect](http://en.wikipedia.org/wiki/Garbage_collection_(computer_science)) the temporary memory which was freed by uBlock after it finished loading and parsing the filter lists:
|
||||
If the browser is idle enough, before one minute has elapsed<sup>[1]</sup>, the browser should be able to [garbage collect](http://en.wikipedia.org/wiki/Garbage_collection_(computer_science)) the temporary memory which was freed by uBlock after it finished loading and parsing the filter lists:
|
||||
|
||||

|
||||
|
||||
|
|
@ -15,4 +15,8 @@ The top image shows the memory footprint of uBlock right after launch (Chrome 64
|
|||
|
||||
Note that uBlock's baseline memory footprint won't change that much afterwards. It will likely settle a few MB above the memory footprint reached after garbage collection has occurred, whenever the garbage collector is permitted to do its job.
|
||||
|
||||
When reloading all filters (after changing selection of filter lists, for example), I notice uBlock's baseline memory footprint edges higher each time. I entered [an issue](https://github.com/gorhill/uBlock/issues/22) to be reminded to investigate whether anything can be done for this. Currently I think this is simply caused by cumulative memory fragmentation and there might not be anything which can be done. Typically I expect users will select a set of lists and stick to that afterward, so this would make this particular issue irrelevant.
|
||||
When reloading all filters (after changing selection of filter lists, for example), I notice uBlock's baseline memory footprint edges higher each time. I entered [an issue](https://github.com/gorhill/uBlock/issues/22) to be reminded to investigate whether anything can be done for this. Currently I think this is simply caused by cumulative memory fragmentation and there might not be anything which can be done. Typically I expect users will select a set of lists and stick to that afterward, so this would make this particular issue irrelevant.
|
||||
|
||||
***
|
||||
|
||||
[1] In latest release of Chromium (40+) I have notice that the garbage collector can be rather "lazy", i.e. meaning sometimes it takes a while before freed memory is garbage collected. It's why that when surveying memory usage it is important to **force** a garbage collection cycle using the dev console of the extension itself.
|
||||
Loading…
Reference in a new issue