Comment on PSA: If your Jellyfin is having high memory usage, add MALLOC_TRIM_THRESHOLD_=100000 to environment

<- View Parent
American_Jesus@lemm.ee ⁨2⁩ ⁨weeks⁩ ago

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.

www.gnu.org/…/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.

source
Sort:hotnewtop