Skip to content

Commit 1f7201f

Browse files
authored
fix(server): Revert update libmimalloc path (#22345) (#22526)
* Revert "fix(server): update libmimalloc path (#22345)" This reverts commit 38226fd. * add comments
1 parent 6c67bbd commit 1f7201f

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

server/bin/start.sh

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
#!/usr/bin/env bash
22
echo "Initializing Immich $IMMICH_SOURCE_REF"
33

4-
lib_path="/usr/lib/$(arch)-linux-gnu/libmimalloc.so.3"
5-
if [ -f "$lib_path" ]; then
6-
export LD_PRELOAD="$lib_path"
7-
else
8-
echo "skipping libmimalloc - path not found $lib_path"
9-
fi
4+
# TODO: Update to mimalloc v3 when verified memory isn't released issue is fixed
5+
# lib_path="/usr/lib/$(arch)-linux-gnu/libmimalloc.so.3"
6+
# if [ -f "$lib_path" ]; then
7+
# export LD_PRELOAD="$lib_path"
8+
# else
9+
# echo "skipping libmimalloc - path not found $lib_path"
10+
# fi
1011
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/lib/jellyfin-ffmpeg/lib"
1112
SERVER_HOME="$(readlink -f "$(dirname "$0")/..")"
1213

0 commit comments

Comments
 (0)