From 11de526bcf2d091401af92908e3fa51a415feca3 Mon Sep 17 00:00:00 2001 From: Mert <101130780+mertalev@users.noreply.github.com> Date: Wed, 28 Feb 2024 18:23:48 -0500 Subject: [PATCH] fix(server): re-add mimalloc (#7511) add mimalloc --- server/start.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/start.sh b/server/start.sh index 9dba2e2922..9c9b4754a0 100755 --- a/server/start.sh +++ b/server/start.sh @@ -1,5 +1,8 @@ #!/usr/bin/env bash +lib_path="/usr/lib/$(arch)-linux-gnu/libmimalloc.so.2" +export LD_PRELOAD="$lib_path" + read_file_and_export() { if [ -n "${!1}" ]; then content="$(cat "${!1}")"