sienori / Tab-Session-Manager

WebExtensions for restoring and saving window / tab states
https://tab-session-manager.sienori.com/
Mozilla Public License 2.0
1.91k stars 188 forks source link

High RAM usage and slow session loading #1330

Open aviv926 opened 5 months ago

aviv926 commented 5 months ago

Short description

Hi @sienori , thanks for the new 7 update! I would like to point out several critical bugs:

  1. When the user configures to save many sessions to a folder on the disk, this causes the extension to take up a lot of space in the RAM memory, and until the extension is restarted or the browser is closed and opened, it fills up the memory and causes a serious slowdown. than saving them to RAM

  2. When the user has saved over 500+ Sessions, every time he wants to access the newest session, the plugin will have to load them all and it can take a long time, I found a workaround for this in which I use the search to search for something random like 23123123123 it loads all Sessions in less than one second and then you can scroll between them without waiting for all of them to load.

Steps to reproduce

  1. Start browser with clean profile
  2. Install Tab Session Manager
  3. Under Backup enable Save backup
  4. Fill the extension with more then 100 Sessions and take a look of the Ram usge for the extension (in chrome Shift+Esc)

Expected result

  1. Local save every X minutes
  2. A bug that causes all Sessions to be loaded every time you click on the extension.

Actual result

Platform information

Additional context

sienori commented 5 months ago

I have improved the issue of high CPU load when backing up a large number of sessions in Chrome. This will be fixed in version 7.0.1.