mem-prof feature is disabled by default. When users encounter memory related issues, a recompilation is requried to do memory analysis. We may set mem-prof as default feature so that users only need to export MALLOC_CONF=prof:true and restart GreptimeDB instance.
Implementation challenges
Not much work to implement this, but I wonder if there's any security concern. Did a simple research but I didn't find any CVE related to jemalloc's profiling feature.
What type of enhancement is this?
Configuration, User experience
What does the enhancement do?
mem-prof
feature is disabled by default. When users encounter memory related issues, a recompilation is requried to do memory analysis. We may setmem-prof
as default feature so that users only need to exportMALLOC_CONF=prof:true
and restart GreptimeDB instance.Implementation challenges
Not much work to implement this, but I wonder if there's any security concern. Did a simple research but I didn't find any CVE related to jemalloc's profiling feature.