American_Jesus
@American_Jesus@lemm.ee
This is a remote user, information on this page may be incomplete. View at Source ↗
- Comment on PSA: If your Jellyfin is having high memory usage, add MALLOC_TRIM_THRESHOLD_=100000 to environment 1 week ago:
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 github.com/jellyfin/…/jellyfin
- Comment on PSA: If your Jellyfin is having high memory usage, add MALLOC_TRIM_THRESHOLD_=100000 to environment 1 week 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 themmap
system call to allocate memory instead of using the heap.- Default: 128 KiB
- Behavior:
- If a memory request is ≥ 128 KiB,
mmap
is used. - If < 128 KiB, the heap is used.
- If a memory request is ≥ 128 KiB,
- Purpose:
- Helps manage large memory allocations more efficiently.
- Can be adjusted to optimize performance for specific applications.
- Submitted 1 week ago to selfhosted@lemmy.world | 15 comments
- Comment on Jellyfin is not just good... but *better* than Plex now?! 1 month ago:
Multiple home users, hardware transcoding, media downloads on mobile…