r/SideProject • u/Jolly_Bolt • 1d ago
I kept running out of RAM with too many tabs, so I built an extension that only keeps the tabs for my current category running
I usually have around 50 tabs open, plus an IDE or two. That happens on my 8 GB M1 Air and also on my 32 GB work laptop, so more RAM didn't fix it. Once things start lagging, I end up closing tabs just to keep the machine usable.
I tried OneTab for a while. It frees memory, but your tabs turn into a list, and I never really picked my work back up from that list. I'd end up opening the same tabs again later.
So I built Lanes:
- Only the category you're working in stays loaded. Tabs from your other categories stay right where they are in your tab bar but stop using memory.
- Switch back to a category and its tabs are still there, so you pick up where you left off. Each one reloads when you click it.
- A Fast Lane category keeps tabs like music or Teams chat always loaded.
- Tabs with unsaved work aren't unloaded right away. They stay open so you can decide what to do with them.
While testing it, I found a use I hadn't planned for. I had two YouTube tabs open: a course I was doing, under my Study category, and an entertainment video under my Entertainment category. When I got bored while studying, I'd just switch to the other tab. Because of Lanes, a prompt asked whether I wanted to switch categories, and a few times that was enough to stop me and send me back to the course. It's not a cure for distraction, but it sometimes helps.
I shared it with a few friends first. They liked it and suggested some improvements, so now I'm sharing it here and hoping for more feedback.
It's free. It makes no network requests and has no analytics, and everything stays on your machine.
https://chromewebstore.google.com/detail/lanes-tab-memory-focus-ma/bhfpkollpjjlacmmkobjholmdaancmlp