An error occurred while fetching the assigned iteration of the selected issue.
Enable jemalloc profiler in build
We are starting to see potential memory leaks (e.g. https://gitlab.com/gitlab-org/gitlab-ce/issues/37437) that may be happening in C extensions and not in the Ruby code. jemalloc provides some nice memory profiling tools (https://github.com/jemalloc/jemalloc/wiki/Use-Case:-Leak-Checking) that we should consider enabling by default.
Debian package maintainers concluded the same: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=767342
All we would have to do is add the --enable-prof
in the config/software/jemalloc.rb
. I believe we might end up shipping jeprof
as well, a small binary.