fix(server): memory fragmentation (#27027)

pull/27206/head
Mert 2026-03-26 13:21:52 -04:00 committed by GitHub
parent 9b78f2c0ba
commit 8dd0d7f34c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 7 deletions

View File

@ -15,13 +15,12 @@ log_message() {
log_message "Initializing Immich $IMMICH_SOURCE_REF" 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"
# lib_path="/usr/lib/$(arch)-linux-gnu/libmimalloc.so.3" if [ -f "$lib_path" ]; then
# if [ -f "$lib_path" ]; then export LD_PRELOAD="$lib_path"
# export LD_PRELOAD="$lib_path" else
# else echo "skipping libmimalloc - path not found $lib_path"
# echo "skipping libmimalloc - path not found $lib_path" fi
# fi
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/lib/jellyfin-ffmpeg/lib" export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/lib/jellyfin-ffmpeg/lib"
SERVER_HOME="$(readlink -f "$(dirname "$0")/..")" SERVER_HOME="$(readlink -f "$(dirname "$0")/..")"