DEV Community

Discussion on: Ruby + jemalloc on a micro EC2 instance

Collapse
 
pjmartorell profile image
Pere Joan Martorell

Read this: github.com/fullstaq-labs/fullstaq-...

"The Ruby core team have debated for years on whether to incorporate Jemalloc, and so far they've only been reluctant. Furthermore, Hongli Lai's research and discussions with various experts have revealed that the only way to make optimal use of Jemalloc is through the LD_PRELOAD mechanism: compiling Ruby with --with-jemalloc is not enough! LD_PRELOAD is such an intrusive and platform-specific change, that we're confident that the Ruby core team will never accept using such a mechanism by default."