-
Notifications
You must be signed in to change notification settings - Fork 312
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
build_backup folder growing out of control #115
Comments
I haven't tested this but my guess is that the bug is here
We should add |
Yeah that definitely sounds plausible. And we'd be willing to test out a branch of the buildpack. |
I have a branch ready f480baf. If this is the first buildpack in your chain use the test branch by running:
|
@ericmj okay I've tested that branch but I'm seeing the same behavior:
|
@axelson Did you test it on a new app or cleaned the cache by setting |
I didn't run purge cache before, but after running
|
Okay, I will look more into this then. |
@axelson Were you able to find a solution to this issue? We're also seeing the nested |
@rockwood as far as I know this is still an issue. We're still working around it with the
|
@axelson got it, that's working for me as well. Thanks! |
Great, glad I was able to help! |
@HashNuke It looks to me like there's an issue calculating the |
Ah ok. If anyone can make a PR and if a bunch of folks can try out the PR, I can help merge it |
I found the reason for this. The Heroku-Bash So instead of writing This has to be fixed in multiple lines in the project. It was hard to debug, because my local This is also the reason for stuff like |
This should probably be closed by now, it looks like #152 fixed it |
Hi, we've been using this buildpack without issue in production for some time now. However recently we've been noticing some oddities. The largest one is that the
_build/build_backup
folder is growing out of control causing an error of:Compiled slug size: 505.2M is too large (max is 500M)
. Looking into the error it looks like the culprit is thebuild_backup
folder:As you can see the entire folder has grown to over 1.2GB! For some reason each build_backup is being saved within the existing build_backup. It seems to point to some type of problem with deleting the previous backups which appears to be on line 56 of app_funcs.sh
heroku-buildpack-elixir/lib/app_funcs.sh
Line 56 in 6251590
Is there anything we can do to help debug this issue? Right now we're working around it by adding
/app/_build/build_backup/build_backup
to our.slugignore
file. This brought the compressed size of the slug down from 505MB to 79MB.The text was updated successfully, but these errors were encountered: