DEV Community

Discussion on: How much of a memory impact do tabs in my terminal have?

Collapse
 
bgadrian profile image
Adrian B.G. • Edited

Back of the envelope:

5000 lines * average 100 unicode characters * average 2 bytes (probably most are ASCII 1 byte but whatever) ~= 1.000.000 bytes ~= 1MB

1MB * 25 tabs = 25MB.

Adblock Extension (when is idle) 300MB

I would say it is ok, your cognitive load on keeping that many terminals is way bigger then the technical load of them :D

Collapse
 
adhocore profile image
Jitendra • Edited

isn't the OP about terminal tabs instead of browser tabs?

Collapse
 
notriddle profile image
Michael "notriddle" Howell

Yes. The point is to have a basis for comparison.

Collapse
 
bgadrian profile image
Adrian B.G.

Just pointing out that 25MB of ram is nothing nowdays πŸ˜€. And if he has dozens of terminal tabs imagine how many browser tabs he has open πŸ˜€

Thread Thread
 
jake profile image
Jake Casto

Me haha

Collapse
 
kip13 profile image
kip

That is another reason because I prefer uBlock

Collapse
 
bgadrian profile image
Adrian B.G.

Thanks, after a quick test it uses 60% less RAM and block with 10% more requests than AdBlockPlus.

The web got crazy, 82 blocked requests on wired.com and the website is still working ... and the Media > xkb option is crazy, never thought of that.

Thread Thread
 
kip13 profile image
kip

uBlock follow other rules in context about ads, check this is an awesome reading...

Thread Thread
 
jackharner profile image
Jack Harner πŸš€

Not sure if you have any control, but that link you linked's SSL Cert expired last week.

Thread Thread
 
kip13 profile image
kip

Yes I know but when I read the Cert was fine, maybe the owner didn't renew it