r/ruby • u/Illustrious-Topic-50 • Jul 01 '26
Show /r/ruby New jemalloc gem (jemalloc_rb)
Do you use the jemalloc gem?
The original project on GitHub seems to be abandoned for around 12 years, and some incompatibilities with recent Ruby versions have begun to emerge. Additionally, the underlying jemalloc library hasn't been updated during all this time. Because of that, I created a fork and launched a new gem (jemalloc_rb) to keep the project functional, updated, and actively accepting pull requests.
18
Upvotes
7
u/ElasticSpoon Jul 01 '26
FWIW meta is maintaining jemalloc again. So you probably wanna bundle 5.3.1 not 5.2.1.
12
u/3ds Jul 01 '26
You don't add jemalloc as a gem you install it and preload it:
1
u/IN-DI-SKU-TA-BELT Jul 02 '26
What incompatibilities?
1
u/Suspicious-Tailor-53 Jul 02 '26
Mimalloc di Microsoft, sto usando...
0
u/sammygadd Jul 01 '26
Is jemalloc still relevant these days? Mruby has received lots of performance improvements during those 12 years. Is jemalloc still bringing benefits?