Jellyfin Forum
RAM Use - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: RAM Use (/t-ram-use)



RAM Use - TriC4rboN8 - 2025-01-14

Hello,

I'm running Jellyfin from the linuxserver.io Docker container and am seeing crazy high RAM use. It is using 31 GB!

This is just from one single stream being transcoded from 4K (65 GB file) to 720P with Nvidia hardware options. Is this normal?

[Image: 6F72q7G.png]

Specs:
- 2500K CPU
- 32 GB DDR3
- 512 GB SSD
- Nvidia RTX 2060

Thanks in advance.


RE: RAM Use - toytown - 2025-01-14

No this is not normal.

I'm using the official docker image for 10.10.3 and when I start a 4K transcode (hardware accelerated for video and CPU for audio) i'm seeing a jump in ram usage to 2.36GB and then after transcoding has finished it drops back down to 1.96GB.

Could you try disabling any unnecessary plugins and restarting the docker, see what the memory usage is before you start a playback session and during. Also please post the transcode log and maybe a 'top' to see what is using so much memory.


RE: RAM Use - TheDreadPirate - 2025-01-14

Run this command.

Code:
sudo docker exec -it jellyfin env

Is the "MALLOC_TRIM_THRESHOLD_" environment variable set? It should be set to 131072.