Adding jemalloc to Rails apps on Heroku
Used 11 times
d
dpaluy
Usage
https://prathamesh.tech/2021/05/23/adding-jemalloc-to-rails-apps-on-heroku/
Run this command in your Rails app directory in the terminal:
rails app:template LOCATION="https://railsbytes.com/script/VQLsep"
Template Source
Review the code before running this template on your machine.
run "heroku buildpacks:add --index 1 https://github.com/gaffneyc/heroku-buildpack-jemalloc.git"
run "heroku config:set JEMALLOC_ENABLED=true"
run "heroku config:set JEMALLOC_VERSION=5.0.1"