ray CPP how to config jemalloc?
One thing come to my mind is to setup LD_PRELOAD in runtime env (env_vars). @raulchen could you confirm this?
Yeah, setting LD_PRELOAD=/path/to/libjemalloc.so
can work.
But since C++ worker doesn’t yet support runtime env. You can set this env var globally before starting the Ray cluster.