sharp-libvips icon indicating copy to clipboard operation
sharp-libvips copied to clipboard

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

Open lovell opened this issue 5 years ago • 0 comments

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.

https://github.com/lovell/sharp/issues/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 avatar Mar 06 '21 11:03 lovell