High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix(server): memory fragmentation (#27027)
Mert8dd0d7f34cca
diff --git a/server/bin/start.sh b/server/bin/start.shindex 0a26be8e0b..15f4411959 100755--- a/server/bin/start.sh+++ b/server/bin/start.sh@@ -15,13 +15,12 @@ log_message() {log_message "Initializing Immich $IMMICH_SOURCE_REF"-# TODO: Update to mimalloc v3 when verified memory isn't released issue is fixed-# lib_path="/usr/lib/$(arch)-linux-gnu/libmimalloc.so.3"-# if [ -f "$lib_path" ]; then-# export LD_PRELOAD="$lib_path"-# else-# echo "skipping libmimalloc - path not found $lib_path"-# fi+lib_path="/usr/lib/$(arch)-linux-gnu/libmimalloc.so.3"+if [ -f "$lib_path" ]; then+ export LD_PRELOAD="$lib_path"+else+ echo "skipping libmimalloc - path not found $lib_path"+fiexport LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/lib/jellyfin-ffmpeg/lib"SERVER_HOME="$(readlink -f "$(dirname "$0")/..")"