-
-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
High memory usage #95
Comments
Hey there, can you tell me a bit more about your whole setup? I did some casual testing on my TS-664's RAM consumption, I'm also using 32GB. My idle RAM consumption from the jellyfin process is at 386,7 MB after letting the NAS and jellyfin run idle for around one hour. I think your RAM consumption is way too high. if you're using an older NAS: many of the older CPUs don't officially support 32GB of RAM, that could also be the issue here. Since my CPU also officially only supports up to 16GB, I'm not sure how valid that is. |
Yes: https://gist.github.com/pierrejoubert73/902cc94d79424356a8d20be2b382e1ab |
Hi, Thank you for your reply. I have a TS-673A with Ryzen V1500B CPU and 32 GB RAM. I am on QTS 5.1.8.2823 and Jellyfin is the latest version uploaded here, 10.9.7. This is the memory consumption just starting the server, without doing anything: Just scanning a folder in the library it shoots up to consume me almost 40% of the NAS RAM. I don't have any plugin installed. I don't know how to look at the log. Comparing it with your RAM consumption, it is clear that there is something wrong with my NAS or my installation. I don't know how I could fix it. Thank you very much. |
TS664 with 16GB, 16TB multimedia folder with >12000 MKV and MP4 files. Uses 1.5 GB RAM after startup, and 3.1 GB after a couple of hours. |
thanks, thats actually very helpful! my uploaded screenshots![jellyfin-idle](https://github.com/user-attachments/assets/73614b31-ba66-4182-aed5-f87525a35dd3) ![jellyfin-1x4kstream](https://github.com/user-attachments/assets/a8a94fde-c0d5-46c2-925d-de4ab7f57aa2) ![jellyfin-2x4kstream](https://github.com/user-attachments/assets/516a7da0-afbe-42a3-9a99-b48aa11a1657)
ok so we're on mostly the same hardware, your cpu officially supports 32GB of RAM so I don't think that's an issue.
to look at the log follow this guide from QNAP: After you're logged in, navigate to: better copy this path and paste it in winSCP or activate "show hidden files" in winSCP, otherwise you won't see the /.qpkg/ folder.
only options I'm seeing right now are checking the jellyfin logfiles and doing a memory test like I suggested in my first answer. Check the QNAP guide, if you have questions about it, just ask. |
Ah, I didn't know this. 🤓 So, I messed with it a bit and found you need a line space after the closing summary tag and before the image tag:
|
thanks! oh I feel a bit stupid right now, I thought about adding spaces but then thought "why would this matter" and didnt try. |
As I too have this ever increasing memory consumption on my qnap (growing from 550MB to 4GB in 2 weeks), I took the time to download the newest source (10.10.0) and compiled it under windows to analyze the memory consumption with the VS2022 debugger. During the initial library scan, RAM usage went up to 2.5GB. Subsequent re-scans of the libraries did not add to that. Then restarted the server, initial RAM usage was 400MB. First library rescan jumped to 600MB. All subsequent rescans (I tried more than 10) did not add any significant RAM usage, so it seemed stable. I also checked if the Garbage-Collector was called after library scans, and it was indeed called. So it seems indeed to be very hard to reproduce the problem. Maybe the memory-administration in windows is different than in Linux ? |
Hello,
I have installed this Jellyfin on my Qnap NAS with 32 GB RAM and I have a really bad RAM consumption problem. When Jellyfin is active, without doing any work, it consumes almost 50% of the RAM. But just by scanning a library I get even more consumption, reaching to saturate the NAS completely as it reaches 99% of RAM consumption. This causes the NAS to stop the process to protect itself.
I know that Jellyfin consumes a lot of RAM being a .Net application, but in my case I can not use it because it directly saturates the NAS and stops working. Does it happen to anyone else? Thank you.
Best regards.
The text was updated successfully, but these errors were encountered: