![]() |
Can Someone Help Me Figure Out How to Reduce Jellyfin's Memory Usage to the Same Leve - 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: Can Someone Help Me Figure Out How to Reduce Jellyfin's Memory Usage to the Same Leve (/t-can-someone-help-me-figure-out-how-to-reduce-jellyfin-s-memory-usage-to-the-same-leve) Pages:
1
2
|
RE: Can Someone Help Me Figure Out How to Reduce Jellyfin's Memory Usage to the Same Leve - Efficient_Good_5784 - 2024-06-12 I'll share what size it is on mine when I get access to it later today. Edit: I just checked the sizes of my DB files. They are as follows:
RE: Can Someone Help Me Figure Out How to Reduce Jellyfin's Memory Usage to the Same Leve - TheDreadPirate - 2024-06-12 Docker stats for my test instances. Code: CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS My stable testing instance has the same library as my production instance, memory stats for my production instance below (package install in Ubuntu). Code: chris@rat-trap:~$ ps -p 3816 -o %cpu,%mem,cmd 2.5% of 32GB is ~820MB. My library.db size for 250 movies, 4400 episodes, 4200 songs, 64 audiobooks, and 500 music videos is 107MB. Code: chris@rat-trap:~$ ll -h /var/lib/jellyfin/data/library.db And the metadata directory is 14GB. Code: chris@rat-trap:~$ du -sh /var/lib/jellyfin/metadata/ RE: Can Someone Help Me Figure Out How to Reduce Jellyfin's Memory Usage to the Same Leve - 21tc_sea - 2024-06-15 (2024-06-12, 04:42 PM)TheDreadPirate Wrote: Docker stats for my test instances.So this is where the problem lies! My library.db is 3.5GB, and my Jellyfin container, without any memory limit, is now occupying 15GB. If your library.db is as large as mine, I guess you would also encounter the same awkward situation as me, having to wait a long time for it to finish starting up! RE: Can Someone Help Me Figure Out How to Reduce Jellyfin's Memory Usage to the Same Leve - ThomasPGH - 2024-06-15 (2024-06-12, 02:17 PM)21tc_sea Wrote: Could you please check the size of the library.db file in your config/data directory? If you mentioned that your Jellyfin memory usage is only around 900MB, I guess your library.db is probably only a few hundred MBs. Under Scheduled Tasks there's a task called Optimise database. When has this run last time? RE: Can Someone Help Me Figure Out How to Reduce Jellyfin's Memory Usage to the Same Leve - 21tc_sea - 2024-06-17 (2024-06-15, 11:04 AM)ThomasPGH Wrote:(2024-06-12, 02:17 PM)21tc_sea Wrote: Could you please check the size of the library.db file in your config/data directory? If you mentioned that your Jellyfin memory usage is only around 900MB, I guess your library.db is probably only a few hundred MBs. 13 hours ago, in fact, the database optimization feature you mentioned runs once a day on my device. However, it doesn’t seem to help much. The database is indeed that large, I estimate it contains no less than 40,000 movies… |