Live data from Hacker News

How Chrome ate 21GB of storage

blog.francoismaillet.com

61–70 of 81 posts

Re: How Chrome ate 21GB of storage

#61

Earlier quoted context omitted.

I win? :P zod@DESKTOP MINGW64 ~/AppData/Local/Google $ du -sh ~/AppData/Local/Google 2.9G /c/Users/Zod/AppData/Local/Google Edit: I do have 885 tabs open. (yikes! D:)

>885 tabs is that intentional, or do you just never close tabs? How do you navigate tabs without losing your mind?

Well it's part laziness (and priortising) and part working on an abstraction layer for the DOM API which can be quite hairy (it is known :P). So I have 10 windows open in total.

I have lots and lots of pages open of DOM documentation from many sources and many GitHub code searches to see how others' code deals with the mess. ~30% tabs are probably StackOverflow. The rest is (potentially useful) Google searches, programming blog posts and the usual pinned tabs (Gmail etc.).

I use a AutoHotKey script to make the scroll wheel switch between tabs (this is the default behavior on Ubuntu but I'm on Window), this way I can quickly scroll/look for the desired tab through an entire 100-150 tab window in 10-15 seconds. Thinking of this.. I would have probably indeed gone insane without the AHK script.. (or just kept fewer tabs opened instinctively? :P).

Re: How Chrome ate 21GB of storage

#62
post #27

> I’m happily walking away from this with an extra 21GB in my pocket! And now I ask you: is your Chrome bigger than mine? Given I don't have to rely on third party updaters, I doubt it. Let's see... $ let size=0; dpkg -L chromium | while read path; do if [ -f "$path" ]; then let size=$size+$(du -sb "$path" | awk '{print $1}'); echo $size bytes, $(($size/1024/1024)) megabytes; fi; done; 172060669 bytes, 164 megabytes…

[deleted]

Re: How Chrome ate 21GB of storage

#63

Earlier quoted context omitted.

I win? :P zod@DESKTOP MINGW64 ~/AppData/Local/Google $ du -sh ~/AppData/Local/Google 2.9G /c/Users/Zod/AppData/Local/Google Edit: I do have 885 tabs open. (yikes! D:)

>885 tabs is that intentional, or do you just never close tabs? How do you navigate tabs without losing your mind?

[deleted]

Re: How Chrome ate 21GB of storage

#64
post #28

Earlier quoted context omitted.

heh, nice user@t61:~$ let size=0; dpkg -L chromium | while read path; do if [ -f "$path" ]; then let size=$size+$(du -sb "$path" | awk '{print $1}'); echo $size bytes, $(($size/1024/1024)) megabytes; fi; done; 162190110 bytes, 154 megabytes user@t61:~$ du -sh .{cache,config}/chromium 386M .cache/chromium 84M .config/chromium

I win? :P zod@DESKTOP MINGW64 ~/AppData/Local/Google $ du -sh ~/AppData/Local/Google 2.9G /c/Users/Zod/AppData/Local/Google Edit: I do have 885 tabs open. (yikes! D:)

I made a simple firefox/chrome extension for people like you and me that horde tabs. You might find it useful to find tabs and quickly navigate to them by clicking on the link in the list. It's free and open source. The github page has a gif showing usage.

Chrome Extension: https://chrome.google.com/webstore/detail/tabist/hdjegjggiog...

Firefox Extension: https://addons.mozilla.org/en-US/firefox/addon/tabist/

source code: https://github.com/fiveNinePlusR/tabist

Re: How Chrome ate 21GB of storage

#65

Earlier quoted context omitted.

I win? :P zod@DESKTOP MINGW64 ~/AppData/Local/Google $ du -sh ~/AppData/Local/Google 2.9G /c/Users/Zod/AppData/Local/Google Edit: I do have 885 tabs open. (yikes! D:)

I made a simple firefox/chrome extension for people like you and me that horde tabs. You might find it useful to find tabs and quickly navigate to them by clicking on the link in the list. It's free and open source. The github page has a gif showing usage. Chrome Extension: https://chrome.google.com/webstore/detail/tabist/hdjegjggiog... Firefox Extension: https://addons.mozilla.org/en-US/firefox/addon/tabist/ source…

Cool! Is it possible to bring up Tabist with a hotkey? (Ideally configurable, but I'll take whatever I can get.) I'd use it all the time then.

Re: How Chrome ate 21GB of storage

#66

I'm going to post a theory that with 500Gb drives pretty much the normal size that most people won't notice 2.5% tied up in Chrome installs.

Perhaps. But my 128GB circa-2011 Macbook Air daily-driver is constantly full. As is my 256GB Macbook Pro work computer which has a 60GB Win7 VM just for running the VMware fat client and some Hitachi software.

With 500+GB I wouldn't care, because the media (photos/movies/etc) need to be stored elsewhere regardless.

Re: How Chrome ate 21GB of storage

#67

Earlier quoted context omitted.

I win? :P zod@DESKTOP MINGW64 ~/AppData/Local/Google $ du -sh ~/AppData/Local/Google 2.9G /c/Users/Zod/AppData/Local/Google Edit: I do have 885 tabs open. (yikes! D:)

>885 tabs is that intentional, or do you just never close tabs? How do you navigate tabs without losing your mind?

or without losing his Chrome ? - to a crash, I mean. Idda thought it would crash well before 885.

Re: How Chrome ate 21GB of storage

#68

Earlier quoted context omitted.

I made a simple firefox/chrome extension for people like you and me that horde tabs. You might find it useful to find tabs and quickly navigate to them by clicking on the link in the list. It's free and open source. The github page has a gif showing usage. Chrome Extension: https://chrome.google.com/webstore/detail/tabist/hdjegjggiog... Firefox Extension: https://addons.mozilla.org/en-US/firefox/addon/tabist/ source…

Cool! Is it possible to bring up Tabist with a hotkey? (Ideally configurable, but I'll take whatever I can get.) I'd use it all the time then.

It sure it is... any idea what it should be? Firefox has a problem with re-assigning keys but in chrome you can change them inside the extension manager area. There's a bug filed for firefox to fix this.

Re: How Chrome ate 21GB of storage

#69

Earlier quoted context omitted.

Cool! Is it possible to bring up Tabist with a hotkey? (Ideally configurable, but I'll take whatever I can get.) I'd use it all the time then.

It sure it is... any idea what it should be? Firefox has a problem with re-assigning keys but in chrome you can change them inside the extension manager area. There's a bug filed for firefox to fix this.

Any shortcut that could be pressed with one hand on a qwerty keyboard would probably be good.

I'm partial to Ctrl-` since it's cross-platform and seems to be unused, but some international keyboards might have difficulty with that.

Ctrl-Space would also be pretty nice.

Re: How Chrome ate 21GB of storage

#70

I feel like it's slightly dishonest not to mention that (according to the Chrome devs) this problem is caused by poorly-behaved modifications to the Chrome installer made by third-party redistributors, and not by Chrome itself. (Disclosure: I work for Google, but not on Chrome.)

It's true that based on the bug report linked in the post, the application bundle is modified by a 3rd party installer running as root. I still think Chrome should correctly handle the permissions problem with a warning or asking for root privileges to fix it, but I've updated the post to point out Chrome itself is not the origin of the problem.

I meant 3rd party plugin installer, like DivX.
Post reply on HN