

113·
10 days agodeleted by creator
deleted by creator
The value of this tunable is the minimum size (in bytes) of the top-most, releasable chunk in an arena that will trigger a system call in order to return memory to the system from that arena.
https://www.gnu.org/software/libc/manual/html_node/Memory-Allocation-Tunables.html
MALLOC_MMAP_THRESHOLD_
is an environment variable that sets the size threshold for using the mmap
system call to allocate memory instead of using the heap.
mmap
is used.Multiple home users, hardware transcoding, media downloads on mobile…
https://support.plex.tv/articles/202526943-plex-free-vs-paid/
I use Plex BTW , but lurking Jellyfin for some time, just not so easy to setup or comparability for my shared users.
It could depend on your distro, official packaging (docker,Debian,Fedora) have
MALLOC_TRIM_THRESHOLD_=131072
, but different distros could have (or not) ship with different settings.Official settings for systemd https://github.com/jellyfin/jellyfin-packaging/blob/master/debian/conf/jellyfin