You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 19, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 19, 2026. It is now read-only.
The libjemalloc library is being added to the base image in #142
To provide full support for jemalloc, we'd need to do the following:
Set RUBY_CONFIGURE_OPTS=--with-jemalloc when installing Ruby with rbenv
Provide an alternative set of prebuilt MRI binaries compiled against jemalloc. (We cannot just replace the current set because apps pinned to an older runtime with an older base image would break.)
Add a runtime_config entry letting users opt-in to using jemalloc.
Update: libjemalloc is available in current runtimes. You should be able to invoke it using LD_PRELOAD (see the getting started for jemalloc) today. However, for the Ruby runtime, we have the Ubuntu switch happening at the end of May, at which point a number of things (including the mechanism for prebuilt binaries) will be different. So holding off on further integration until the dust settles.
The
libjemalloclibrary is being added to the base image in #142To provide full support for jemalloc, we'd need to do the following:
RUBY_CONFIGURE_OPTS=--with-jemallocwhen installing Ruby with rbenvruntime_configentry letting users opt-in to using jemalloc.