For years, people have been using jemalloc with ruby. There were various benchmarks and discussions. Legend had it that Jemalloc 5 didn't work as well

Using Jemalloc 5 with Ruby.md · GitHub

submited by
Style Pass
2024-04-28 23:30:06

For years, people have been using jemalloc with ruby. There were various benchmarks and discussions. Legend had it that Jemalloc 5 didn't work as well as Jemalloc 3.

Note I'm not sure about the ideal order of operations here, and not sure if you'll need to deploy your app one more time after this. Please test in a staging environment first if possible.

There is also the third-party heroku-buildpack-jemalloc, which will download, build, and install an arbitrary jemalloc version, which is useful if you need a version not distributed by Ubuntu for some reason, such as before the discovery of the improved MALLOC_CONF, necessitating the installation of version 3.6

Leave a Comment