Hi,
As of June 2025, the original maintainer of jemalloc released an official post stating that the project is no longer maintained (postmortem). This brings security and stability risks for new Rails apps, which currently recommend and enable jemalloc by default. Refer to the guide below:
Also, Dockerfile generated by rails new contains jemalloc:
Given jemalloc’s current status, should we deprecate or remove its installation and recommendation from the official templates and docs? Or at the very least, add a prominent warning?
Would appreciate thoughts and feedback.
Thanks.
See also Feature #14718: Use jemalloc by default? - Ruby - Ruby Issue Tracking System , where it was discussed whether Ruby should use jemalloc by default. It’s now closed, though.