auto-tab-discard icon indicating copy to clipboard operation
auto-tab-discard copied to clipboard

Checking for discarding tabs is not working as expected

Open ghost opened this issue 2 years ago • 5 comments

"Discard inactive tabs after (in minutes) X (use zero minute to disable auto tab discarding) when the number of inactive tabs exceeds X"

  1. If I set to discard tabs after 10 minutes the tabs that are not that old like 9 mins and 20 seconds the tab will get discarded after 20 minutes
  2. The sentence cam be simplified by "Discard inactive tabs after [X] minutes (zero to disable) when the number of inactive tabs exceeds X"

A. A way is to create individual timers for tabs that are respecting the rules "Do not..." and when the tab gets changed/inactive, create the timer. And destroy it if is focused / active again. B. Other way is to add other timer to check every minute to be more faster.

Other: "Maximum number of tabs to check for discarding per single automatic discarding request" not sure what does and for what is. I don't see the purpose. I want all tabs that can be discarded. I don't case how many. Can't put 0 to disable. Same the "Minimum delay between sequential discarding checks (in seconds)3". I don't see a Maximum value. So why is called Minimum?

ghost avatar Nov 07 '21 13:11 ghost

Same issue. For the past few weeks this extension is not working as expected, and sometimes even manually 'discard all other tabs' does not work. I have to factory reset the extension, then Shift+click the 'discard all other tabs' option in menu for it to actually discard tabs. Automatic discarding doesn't work as expected. Sometimes my Chrome usage ramps up to 8 GB RAM, which never used to happen before. I believe Chrome has made some changes, because several other extensions are also facing issues.

AnshulJ999 avatar Nov 27 '21 11:11 AnshulJ999

A way is to create individual timers for tabs that are respecting the rules

This is not efficient! I reduced the check to one-third of the period that the user requested. So on the default config, the extension checks every 3 minutes for tabs that need to be discarded.

The sentence can be simplified by ...

Thanks! I updated the "en" locale.

I want all tabs that can be discarded...

Discarding too many tabs at once freezes the browser.

rNeomy avatar Dec 12 '21 05:12 rNeomy

sometimes even manually 'discard all other tabs' does not work.

Manual discarding respects the exception list. By using Shift + Click, you ask the extension to bypass the list.

Sometimes my Chrome usage ramps up to 8 GB RAM, which never used to happen before.

Switch to a new profile. Either you have a malfunction extension, or the profile is damaged.

rNeomy avatar Dec 12 '21 05:12 rNeomy

I'm not sure how that exception list happens. I don't add tabs to exceptions but still some of them do. Shift + Clicking works, but that's an additional step.

As for the 8 GB RAM, that's not an issue with the profile - I just tend to open several dozen tabs while researching (sometimes over 100). But I'd like Auto tab discard to automatically discard tabs that aren't being used to save memory when it crosses that. The settings menu is a bit confusing to me so I use it on default factory settings.

AnshulJ999 avatar Dec 12 '21 08:12 AnshulJ999

What is the URL of a tab that you need to force discard?

rNeomy avatar Dec 12 '21 08:12 rNeomy