Jellyfin Forum
Jellyfin, high memory usage causing server crash? - 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: Jellyfin, high memory usage causing server crash? (/t-jellyfin-high-memory-usage-causing-server-crash)



Jellyfin, high memory usage causing server crash? - atem55 - 2025-05-20

Hi,

Ive been running Jellyfin (10.10.7) and am seeing issues when there is any kind of HW transcoding, im using a intel pentium gold 8505, and from the ffmpeg logs im seeing streams being encoded to h264_qsv, which I think is telling me that the HW transcoding is working?

However, it plays the source for about 60secs before freezing, without a mem_limit on the container, looking at top it the total mem (64gb) and the free was dropping down to zero, With a mem_limit of 8G it stopped the perceived memory loss but still crashed at about the same length of time, with the jellyfin process showing 34.1G of virtual memory.

Ive got cache and transcoding on my nvme drives which have 450gb+ free
Ive tried the jellyfin and linuxserver images with the same results, with asnd without the opencl-intel linux server mods,  but it does appear to be HW transcoding anyway.
The below is top running with the 8GB mem_limit.

top: https://postimg.cc/jCsQTzDm

ffmpeg_transcode:  pastebin.com/raw/aUarf8e4

Not sure what is else of use?  Any pointers on what i need to change would be great.

Carl


RE: Jellyfin, high memory usage causing server crash? - theguymadmax - 2025-05-20

If your on Docker see this post: https://github.com/jellyfin/jellyfin/issues/11588#issuecomment-2869367328


RE: Jellyfin, high memory usage causing server crash? - atem55 - 2025-05-20

I wasnt experiencing any issues on library scans, just playback, I tried with that image and it exhibited the same behavior.


RE: Jellyfin, high memory usage causing server crash? - theguymadmax - 2025-05-20

There are a few different memory issues currently on Github. I've only been affected by the scanning issue, and it was resolved by my prior test image.

Here's a thread regarding memory issues during playback. I see at least one user with some issue he was able to resolve, but the thread is still active with no solution in sight. Memory issues can be very hard to diagnose.
https://github.com/jellyfin/jellyfin/issues/13247