New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gigabytes of memory used for icons on extension load #471
Comments
|
Waiting to lower memory usage. |
I was wondering if the memory issue is a Firefox problem or TSM. Brings my computer to it's knees after opening only a few tabs.
Get Outlook for Android
On Sat, Dec 14, 2019 at 11:30 AM -0600, "Konrad Lorinczi" <notifications@github.com> wrote:
Waiting to lower memory usage.
Even 90 windows with total of 400-500 tabs is unusable.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Same thing here ... |
Please allow me to disable this feature (and perhaps favicons completely) - I don't want to be submitting all my tab urls to the network, or to google. There is no reason the addon should need network access to manage my session. |
I've implemented the ability to compress the favicon url when saving the session! 1c6ac8a In Firefox, favicon URL are saved as a long string called data URL. Example of compression result (number of characters):
I was considering replacing the favicon URL with google's favicon API, but rejected it for privacy reasons. |
Nice work, thanks ! Will it be on by default ? |
@ngirard Yes, it is enabled by default. |
Great, thanks ! |
In addition, I have published Session Compressor. |
Compressing the favicon will make it take longer to save the session.
I considered it, but decided against it due to Firefox's specifications... |
I have almost 1000 tabs. I have to wait to load all tabs before the save takes effect after I pressed the save button. Then the save process takes maximum 2 seconds.
Could you explain? I would welcome such option to lower memory usage. |
Just note, I use the save function to save tabs of Current Window. |
Just curious: which save function are you talking about ? Would you mind posting a screenshot ? I might be missing something here ; I'm using Tab session manager for that purpose. |
@sienori, these are interesting numbers, but your sentence sounds as if there's a favicon to save for each tab... |
@ngirard TSM uses |
@sienori, thanks for your detailed reply. Would it be possible to save a favicon only once when several tabs are visiting the same website ? |
@ngirard There are a lot of things to think about, such as synchronization with other browsers and compatibility with older versions. |
@sienori, I have no doubt that the problem at hand is not simple. I like to regard our discussion as food for your own thought, rather than a direct request from me. What about
|
@ngirard
By the way, in Chrome, we can access the browser's cache of favicons from |
Short description
With 17 sessions a ~2000 tabs, loading the extension immediately loads a large amount of icons into memory, leading to permanent multi-gigabyte memory use.
Steps to reproduce
Expected result
Firefox memory use does not change materially as long as no action is performed using Tab Session Manager.
Actual result
Memory usage of the WebExtension host process rises to several gigabytes immediately,
about:memory
shows that to be due to tens to hundreds of thousands of strings, all beginning withdata:image/x-icon;base64
.Platform information
Additional context
The text was updated successfully, but these errors were encountered: