2023-09-05, 02:30 PM
(2023-09-05, 02:01 PM)skribe Wrote: Memory usage of several gigs is very normal, and Linux's memory management is very different than Windows' as well. In general, there is little to no need to monitor memory usage. Unused memory is wasted memory, and modern operating systems are highly efficient at memory management. If there is a practical need to reclaim memory, the OS will do so.
There is not, in any case, a known memory leak or similar bug in the jellyfin code, and there hasn't been a recent release to introduce one either. I'm sure you're fine.
The memory usage doesn't need to be a leak or bug to be excessive. Using several gigs of memory may be "normal" for Jellyfin, but it is not "normal".
"unused memory" is not wasted memory, it's memory the OS uses for file caching which is essential for applications like media software. A general rule of thumb is that applications (in total) shouldn't take more than 50% of available memory.
I think Jellyfin uses way more memory than it needs and can no doubt do better memory management.