-
Notifications
You must be signed in to change notification settings - Fork 17.4k
Large library size #7061
Comments
Looks like this isn't confined to the Mac: https://discuss.atom.io/t/com-github-atom-shipit-is-using-10-gb-of-space/18461 |
This happened to me recently with Avast, and now with Atom (13 gb). So I guess my permissions might be set up "strangely". What should they be set to? |
|
but the good news is that I've updated to 1.0.2 just now and the ~/Library/Application\ Support/com.github.atom.ShipIt/ got pruned to nearly zero! |
I'm on 1.0.2 and just had this problem 14G of space used which filled the rest of my disk space. |
Same here - I'm currently at 8.9GB. Can we just delete these? |
Yep! I just nuke update.* and wait til it fills up again. |
Ugh.. Seriously, so this is why I kept having to move stuff off my main boot partition. 16GB of past update stuff is irresponsible to leave around. |
@mgoffin Seems legit..... 👎 |
/cc @joshaber @robrix @keithduncan any ideas on this one from a squirrel point of view? Appreciate any help or insight you might have. |
The updates are being accumulated, one after another, and when atom is shut down or started, don't know which, it applies the latest update and then deletes them all (On OSX at least) |
@kevinsawicki Do we know what version of Squirrel we're using? It looks like we're downloading the framework pre-built from https://github.com/atom/atom-shell-frameworks/releases, but it's not clear what version of the framework that would be. Squirrel/Squirrel.Mac#103 should, in theory, address what @LeviSchuck outlines above. But without knowing the Squirrel version we can't know if atom just needs to pick that fix up, or if there's something else going on. |
I think we are using 0.1.5, which is released 6 months ago. |
In that case you'd definitely have Squirrel/Squirrel.Mac#103. For those of you who get a bunch of updates built up, it'd be really great if you could save your |
My ShipIt_stdout.log is 0 bytes. |
Thanks @friday! 🤘 I'm adding this to my list to investigate. |
+1 23.1 GB of space consumed. |
+1 4.4GB used |
I had this issue (approx 9 GB) but after quitting Atom and restarting my computer, the size of that directory went down to 8 KB (version 1.0.11). |
Same issue here, was 4GB (v1.0.11). When I restarted Atom (quit the app on Mac), it cleared the directory out. |
I haven't been able to reproduce this personally yet. One of my current theories is the app is sometimes quit & restarted before the app has the chance to perform the update. This is because there's a lengthy validation process that happens after downloading the update and before applying it. So then the app is launched again by the user, it downloads the update again, etc. This keeps happening until the app is quite for long enough for the update to apply and clean up. For those of you who have experienced this, does that make sense with what you see? Or does that sound like nonsense? |
To reproduce: open Atom and never close it. |
Has anyone seen this recently? |
@joshaber Can verify that this is still happening as of Atom 1.3.2. Only very recently installed Atom on my Mac, left it running in the background through a few wake/sleep cycles, came back to a "disk space usage" warning with 15GB of space taken solely by the |
Any idea if this is still an issue? Just realized mine is 79 GB (!?) on OS X 10.10.5 and Atom 1.3.3. Is it safe to just delete all these files, or should I keep them around for now testing (I've 20 GB free still on my 256 GB SSD so I don't need to clear the space just yet). |
@lokenx It looks like some people are still experiencing it unfortunately 😞 Feel free to delete all those files. |
OK thanks! I'm glad I noticed before my disk ran out of space 😟 Regardless, keep up the good work! Edit: it seems to have cleared itself up, not sure if it was restarting or opening Atom or what. |
@lokenx Oh interesting! Had you launched/restarted Atom in a while? |
I don't believe so. I'd been off work for a number of months (broken knee). The machine was on but not in use, and no one else uses. I started Atom to get the version number off it and then closed down--maybe that was enough. It was already on 1.3.3 without me updating either (background updates?). |
Mine is 4.3GB. Atom v1.6.2. Will this be addressed soon? |
@seangates How did you install Atom? Have you not restarted Atom recently? |
@lee-dohm I have had it open for a few days, as I usually go a few weeks without restarting it. Is that part of the issue? Also, I originally installed it about a year ago, and have been getting regular automatic updates over time, whenever I have restarted my machine. |
Well, the latest version is v1.7.2. I'm not sure when it clears out the old versions that have been downloaded. So if you're not restarting I assume it could be downloading multiple new versions and not clearing them out until the restart happens? |
@lee-dohm Let me restart Atom and see if the large file persists. |
@lee-dohm I just ran I'm not sure about the initial conditions that lead to update files building up in the directory. However this is a good sign. |
The issue persists. The file is still 4.31GB after restart on v1.6.2. I'm updating to v1.7.2 to see if it solves the issue. |
Yeah, updated to v1.7.2, still have a 4.31GB ShipIt_stderr.log file. |
@seangates I didn't think this issue was ever about the stderr.log file being too big. I believe it was about having many redundant update directories which were massive. Not having pruning on the error log is another issue which I don't believe has been mentioned here until your comment. |
@gerrywastaken Okay. Should there be a new issue raised? |
@samlambert Yes, or looking at what was in the error log. Perhaps that points to something that should be fixed? Part of me thinks that it's a good thing that the error log grows large, because then at least it grabs attention. If it's stuff that is no longer relevant then it probably shouldn't be filling up the hard drives of people who haven't realised what the issue is. I'm not a maintainer so I'll defer to @nathansobo, who closed this issue, so probably knows what should be done regarding the error log file size. |
@gerrywastaken Well, since it was an error log ... I deleted it. So, I don't know what's in it anymore. But, I assume it was simply for logging purposes to diagnose issues. The fact that it was over 4GB is concerning, though, as it should be pruned periodically. Or the log should be broken in to date ranges and pruned according to date ranges, like the last 5 days or something. (Configurable, maybe?) Anyhow, it looks like my issue is different that stated in this issue, so I'll stop replying. 😉 |
@lee-dohm Since my comment 29 days ago: #7061 (comment) The directory has started filling up again. Closing Atom does remove a lot of the data from inside the "update.djksja" directories, but if the user needs to periodically restart Atom, I'm not sure that is a great default behaviour. It does also leave the directories in place. I'm not sure if this is expected. |
I still have this problem as well, I'm trying to figure out how to simply delete atom so it stops and I can't figure that out either! |
I haven't been able to totally remove atom (which I would like) but I've been able to get the log to stop printing with:
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks! |
And there're 45 update.** files inside, 203M each. Seem to be a cleanup issue.
P.S.: Mac OS 10.10.3
The text was updated successfully, but these errors were encountered: