Open chaoscreater opened 10 months ago
Thanks for reporting @chaoscreater! There might be a memory leak, I'll take a look closer look and try to get a fix in the next release.
I think I know how to replicate this a bit more consistently now.
If you use extensions such as the following:
Then whenever you suspend the tabs, Vertical Tabs' RAM usage will stay pretty high at about 2GB or more. It seems to happen when the tab icons are changed. The Great Suspender is probably a better extension to test with, as whenever it suspends the tabs, it adds its own icon to the tabs. Vertical Tabs will show the updated tab icons just fine, but perhaps it's unable to properly "refresh" itself and therefore has a memory leak? Because whenever I toggle Vertical Tabs off and on again, the issue goes away.
This is especially noticeable if you have a high number of suspended tabs. If you have just like 10 suspended tabs, it's hard to notice it.
I'm using this in UnGoogled Chromium. I have about 360 tabs in my browser. I'm using lazy loading, which means only tabs that I click on and are active are loaded, the rest are just hibernated.
My browser runs smooth most of the time. However, sometimes I notice the RAM usage is quite high and upon checking in the Task Manager of the browser, Veritical Tabs is always the culprit with the highest RAM usage. The fix is to toggle Vertical Tabs on and off, which is a quick thing to do. However, sometimes I forget and I shouldn't need to do this manually anyway.
Is there some sort of bug present in Vertical Tabs, perhaps having issues dealing with the high number of tabs in the browser? Is it possible for it to clear its own memory allocation, or perhaps reset itself every X number of hours defined by the user?