Jellyfin Forum
Insane RAM usage? - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions)
+--- Thread: Insane RAM usage? (/t-insane-ram-usage)



Insane RAM usage? - pixelwave - 2023-07-26

Hi just installed Jellyfin on my Portainer / Docker setup. The (VM) machine has a total of 24 GB memory assigned to it and Jellyfin quickly grabbed 16 GB (!) capping the VM total memory.

Is this normal? Jellyfin is not doing much ... I have 1 TV show and 2 Movies ... ?!?


RE: Insane RAM usage? - TheDreadPirate - 2023-07-26

I don't think this is caused by jellyfin. My jellyfin instance (bare metal) is happy using less than 2GB even after weeks of runtime. This sounds like the container is reserving memory upfront? I know VMs reserve memory upfront. But with Docker, I think reserving memory is not the default behavior but is an option that can be set?


RE: Insane RAM usage? - pixelwave - 2023-07-27

It is super weird ... I also limited memory reservation of the container to 4GB ... still sitting at a total for 13GB RAM.


RE: Insane RAM usage? - Grumblegoof - 2023-07-27

Docker's memory reservation is a soft limit. It means that the next reclaim will attempt to get below the limit, but if it can't then it won't. It won't do anything to stop a memory leak or cause a oom-kill.

Is it the jellyfin-process taking the memory? Processes running in containers are just normal linux processes, so you should be able to see them with top/htop or whatever process monitoring you have on the host.


RE: Insane RAM usage? - gofaster - 2023-07-28

Try installing the Guest Agent in the VM; to accurately report memory stats.