fullstaq-ruby / fullstaq-ruby/server-edition

Use LD_PRELOAD to load Jemalloc

Open
#57 2 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.