-
Notifications
You must be signed in to change notification settings - Fork 113
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
Upgrade to jemalloc 5.0.0 #11
base: master
Are you sure you want to change the base?
Conversation
Ok, pushing the binary created a v5.0.0 tag from current (Sorry if this hurt more than helped.) |
I think there's an issue with the 5.0.0 binary. I tried to use the buildpack from the jemalloc-5.0.0 branch and got this message when deploying:
|
Filename was incorrect, missing a 'v'. The binary file is https://github.com/mojodna/heroku-buildpack-jemalloc/releases/download/v5.0.0/jemalloc-5.0.0-1.tar.gz Correcting the filename removed the build error. However, the new binary does not have the file I tried setting the LD_PRELOAD value as recommended in the jemalloc documentation: ... Only, the above solution doesn't work with the earlier version of jemalloc. As far as I can tell, we have a breaking change. What works for using jemalloc 5 doesn't work for < 5 and vice versa. If this PR is going to be merged into master, the documentation needs to be updated. 5.x requires |
Correction to the above: The file change in 5.0.0 doesn't appear to affect anyone who was using jemalloc via the Procfile script, since that refers to It looks like v5 won't break anyone's Procfile after all. Sorry to cause confusion. I can't verify the effect on those using |
Closing in favor of @brian-kephart's other PR. |
Whoops, didn't see that his PR was on top of this one 😆 |
OK, I think this is good now. @brian-kephart can you give this branch a shot too? |
Once this gets merged I can figure out the build environment stuff again, hopefully we can push releases with the latest minor of 3.x -> 4.x -> 5.x. |
The previous version added leading and trailing colons to these values if a variable had no assigned value before the buildpack script ran.
I deployed using this branch and it works. Some notes:
|
Originally from @brian-kephart
@nateberkopec: I'll leave this for you to merge and make live (but I'll create the release w/ a new binary).