-
-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
running out of drive space #158
Comments
Not a maintainer, but do you have a reproducible example? |
Here’s a run which failed repeatedly, then the next commit succeeded after removing the cache action: https://github.com/decentraland/bevy-explorer/actions/runs/5798430222 |
Yeah, we have had a disk space issue with windows before on GHA, though not related to cache. Something curious about the run is that a) the cache size is huge — 2.5GB, b) on the run where it succeeded, it only takes 6.5 minutes to compile. Might be worth exploring why the cache is so large... |
I have an idea based on #126 (comment) : rust-cache could compress and store the cache as a squashfs. Then on restore, simply mount the squashfs image and use overlayfs to pass the writes to a tmpfs, and the Linux kernel would decompress each file on demand and then simply dropped the decompressed file on out-of-memory situation. |
i find my workflows on github sometimes run out of drive space when using the cache action.
i don't think the cached target folder should be larger than building directly, so i wonder if maybe the cache files are not deleted after downloading?
The text was updated successfully, but these errors were encountered: