Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Experiment: consider statically-linking jemalloc/mimalloc for glibc-based Linux #95

Open
lovell opened this issue Mar 6, 2021 · 0 comments

Comments

@lovell
Copy link
Owner

lovell commented Mar 6, 2021

Now that this repo builds a statically-compiled shared library, we might want to consider also statically-linking an alternative memory allocator for glibc-based Linux to help avoid memory fragmentation.

lovell/sharp#955 provides some context.

(We might want look at e.g. redis to see how it is built.)

We should also investigate mimalloc built with its security features to see what overhead, if any, the guard pages add.

@lovell lovell changed the title Experiment: consider statically-linking jemalloc for glibc-based Linux Experiment: consider statically-linking jemalloc/mimalloc for glibc-based Linux Mar 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant