cloudfoundry / capi-release

Bosh Release for Cloud Controller and friends
Apache License 2.0
24 stars 102 forks source link

Add experimental jemalloc support #367

Closed johha closed 11 months ago

johha commented 11 months ago

Jemalloc is an alternative malloc implementation which improves memory fragmentation. It also reduces the overall memory consumption and thus might be beneficial when running on puma. Further information can be found in this article about malloc and jemalloc: https://www.speedshop.co/2017/12/04/malloc-doubles-ruby-memory.html

This change adds the jemalloc packages and introduces the config property cc.experimental.use_jemalloc_memory_allocator to enable jemalloc (default is false).