How Chrome ate 21GB of storage(blog.francoismaillet.com) |
How Chrome ate 21GB of storage(blog.francoismaillet.com) |
(Disclosure: I work for Google, but not on Chrome.)
What do you mean ? if I download Chrome from the official website I get a third party installer ? because I have the exact same problem with that very official installer.
Can you point me to an official installer with the same problem?
I'm not aware of those installers installing anything as root.
It sounds like some third party extension's installer (e.g. DivX) is reaching into Chrome.app and mucking with permissions (setting owner to root). Not sure why they don't install into "/Library/Internet Plug-Ins" (maybe it doesn't work with chrome anymore?)
(Edit: but a comment in the linked bug report suggests that this may also occur if Chrome is installed as one user and used by another.)
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
$ du -sh .{cache,config}/chromium
8.4M .cache/chromium
25M .config/chromium
So the cache is 8M, config files 25M and program files 164M (listed by dpkg -L, then some command line magic to add up file sizes). A grand total of just under 200MB. 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 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:)The bug report is basically "when i screw this up, chrome doesn't notice and fix it for me".
Never faced this issue in Windows and Linux
Used to be, we specced out exactly what was in a release and no more. Now, it's just whatever they can cram in under a deadline without all that "unnecessary" optimization.
I'm probably as guilty as anyone else; I like getting a paycheck and so I keep my mouth shut, even though shit like that literally keeps me up some nights.
With 500+GB I wouldn't care, because the media (photos/movies/etc) need to be stored elsewhere regardless.
Un-useful, however, was stuff that tried to hijack your FB/Twitter ("hey guys paste this in ur browser and get some n00dz in return"). The amounts of crazy stuff people do for supposed nudes or whatever is just astonishing
If you run Chrome on a laptop, you better plug it in.
https://chrome.googleblog.com/2016/09/chrome-faster-and-more...
I stressed the wrong thing before. If it can not be fixed, say so.
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
is that intentional, or do you just never close tabs? How do you navigate tabs without losing your mind?
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).
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.
My next feature request would be to show the domain (e.g. "news.ycombinator.com") next to each link, like HN does. That'd let ctrl-F find by domain.
Additionally, being able to sort by domain would be good. Not per-window, but globally. Just a big list of tabs. I'm almost never looking for a particular window, but rather a particular tab of a specific site.
Another minor feature request is to put the total number of tabs as a badge number on the icon itself. I.e. instead of just showing tabist's icon, show the icon with "53" on it if I have 53 tabs open.
Or, y'know, it's pretty good how it is now, so feel free to just ignore this. :)
Thanks for the extension!
Those are all good ideas and I am likely to implement them. I published the new version so it should be available within a few days for firefox and within a few hours for chrome.
If you have any other issues/feature requests/concerns you can submit an issues over here: https://github.com/fiveNinePlusR/tabist
Is there any debugging or diagnostic info I can provide?
In addition to Command-Shift-E, I've tried all variants of control/option/command/shift E.
The favicon change was awesome. Globally sorting by domain seems a little less necessary now.
Thanks again for the extension / update. This is great!
Perhaps try restarting chrome and if that doesn't work you can try uninstalling the extension and reinstalling it. I just got the extension from the chrome store and command-shift-E worked fine. there is also the possibility that you have command-shift-e shadowed by another command(system wide shortcut or another extension). try going to chrome:extensions and going to the very bottom and selecting "keyboard shortcuts" and changing the one labeled "Toggle or activate a Tabist tab" the Tabist entry.
feel free to email me at the email in my profile if that doesn't work or if you figured out what the issue was.
cheers!
I think the problem was that I had Tabist installed before, and so the suggested keybind didn't take effect when I upgraded to a new version. Not a big deal with only a few users.
I didn't know about the keyboard shortcut menu. Here's what it originally looked like: http://i.imgur.com/jmTInyL.png
Much appreciated.
EDIT: On second thought, I have Tampermonkey installed, which apparently defaults to Command-Shift-E: http://i.imgur.com/DAEvgNB.png I think that was shadowing it.
Yeah, this extension rocks! I'm going to use this forever.
Awesome :D
Shoot me an email or add an issue on github if you think of anything that might be worth adding.
cheers!
This is fantastic though. I've been telling my friends about Tabist and everyone's saying how useful it is.