Tab-session-manager: gigabytes of memory used for icons on extension load

Created on 27 Oct 2019  Â·  5Comments  Â·  Source: sienori/Tab-Session-Manager

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

  1. Start browser with clean profile
  2. Install Tab Session Manager
  3. Create very large sessions.
  4. Disable Tab Session Manager.
  5. Restart browser.
  6. Enable Tab Session Manager.

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 with data:image/x-icon;base64.

Platform information

  • Platform (OS): Linux
  • Version of browser: 69.0.2
  • Version of Tab Session Manager: 5.1.0

Additional context

enhancement

Most helpful comment

I plan to implement a feature that replaces the too long base64 favicon URL with google favicon api.
Thanks report!

All 5 comments

I plan to implement a feature that replaces the too long base64 favicon URL with google favicon api.
Thanks report!

Waiting to lower memory usage.
Even 90 windows with total of 400-500 tabs is unusable.

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 ...
And you don't need that many windows open.
All you need is a single tab, once you activate the addon it starts eating memory away ...
https://github.com/sienori/Tab-Session-Manager/issues/337#issuecomment-597109149

I plan to implement a feature that replaces the too long base64 favicon URL with google favicon api.

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.

Was this page helpful?
0 / 5 - 0 ratings