fullstaq-ruby / fullstaq-ruby/server-edition
Use LD_PRELOAD to load Jemalloc
Open
enhancement
- Dominant language
- Shell
- Stars
- 630
- Forks
- 38
- PR merge metrics
- No merged PRs in 30d
Description
It seems that just linking to jemalloc is not enough. We need to `LD_PRELOAD` it, otherwise jemalloc is only loaded partially. But it's unclear whether we'll run into other issues as `LD_PRELOAD` is kind of dangerous.
See also https://twitter.com/jashmatthews/status/1140670189954129920
Jacob Matthews gave me the tip that I can use `LD_DEBUG` to debug things.
Contributor guide
Assessment
This issue has not been assessed yet.