Add libjemalloc2 to Debian packages

Addresses jellyfin/jellyfin#11588 for Debuntu packages, mirroring #70
for these OS-level packages.
This commit is contained in:
Joshua M. Boniface
2025-06-14 13:14:06 -04:00
parent 07c9df780e
commit 85f3482551
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -30,6 +30,9 @@ JELLYFIN_WEB_OPT="--webdir=/usr/share/jellyfin/web"
# ffmpeg binary paths, overriding the system values
JELLYFIN_FFMPEG_OPT="--ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg"
# Use jemalloc2 for improved RAM usage (#11588)
LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.2
# Disable glibc dynamic heap adjustment
MALLOC_TRIM_THRESHOLD_=131072
+1 -1
View File
@@ -16,7 +16,7 @@ Description: Jellyfin is the Free Software Media System.
Package: jellyfin-server
Architecture: any
Depends: libfontconfig1, adduser
Depends: libfontconfig1, libjemalloc2, adduser
Recommends: jellyfin-web, sudo, jellyfin-ffmpeg7 | ffmpeg
Description: Jellyfin is the Free Software Media System.
This package provides the Jellyfin server backend and API.