• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Excessive RAM consumption

    Pages (9): « Previous 1 2 3 4 5 … 9 Next »
     

     
    • 0 Vote(s) - 0 Average

    Excessive RAM consumption

    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #21
    2024-05-14, 01:30 PM
    (2024-05-12, 06:13 AM)SyrupSplashin Wrote:
    (2024-02-28, 05:03 PM)TheDreadPirate Wrote: Most of the memory jellyfin uses is cache.  Memory used for caching and reserved memory for applications and application data behave significantly differently.  If another app needs more memory, the cached memory will be immediately released to the other application.  Most  dashboards, like the screenshot you provided, do not distinguish between reserved memory and cache.

    I'm running into this same situation where Jellyfin holds onto cache indefinitely; bare metal this is of little concern but I'm running it in proxmox and want that memory freed up for other VMs.

    Assuming it's expected for jellyfin to hold data in cache/buffer indefinitely, how can I change this behavior? If it's not expected, what could be the issue? I'm running Jellyfin v10.8.13.0 pulled from Ubuntu's repos (i.e. not a docker image). Github says the env variables to help with memory consumption should be within this version so I don't know what I can really do here.

    You could just give the VM less memory.  It just won't cache as much.  Caching does not prevent Jellyfin proper from using the memory it needs to use since cache is immediately released when other apps needs to reserve memory.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    VladtheImpaler
    Offline

    Junior Member

    Posts: 15
    Threads: 4
    Joined: 2023 Dec
    Reputation: 0
    Country:United States
    #22
    2024-05-23, 12:22 PM
    I think I also have this caching problem, Jellyfin will eventually use all available memory and Windows will crash.  Restarting Jellyfin doesn't free the memory so I have to reboot the machine twice a week.  I had hoped the latest updates would fix it, but it's still there... I watched 4 episodes of Star Trek TNG last night and memory usage jumped by 20% on a PC with 16gb.  That seems like a nasty leak to me.
    EVOTk
    Offline

    Junior Member

    Posts: 2
    Threads: 0
    Joined: 2024 May
    Reputation: 0
    Country:France
    #23
    2024-05-23, 03:46 PM
    Since I upgraded from 10.8 to 10.9, I've also had a lot of RAM consumption problems. Jellyfin quickly ends up consuming all the RAM available on the server (32GB total) and becomes unstable.

    https://github.com/jellyfin/jellyfin/iss...2126312981

    On a "clean" installation of 10.9, I have the same problem. Before, on version 10.8, my container was limited to 4GB of RAM, and I had no problems.

    Now, my container uses over 16GB of RAM!

    I'm use official image docker on OMV7 ( Debian 12 )
    Fate
    Offline

    Member

    Posts: 220
    Threads: 3
    Joined: 2023 Jun
    Reputation: 16
    #24
    2024-05-23, 04:15 PM
    If that is the issue, disabling trickplay in the libary settings then restart should fix that.
    Maybe test that?
    EVOTk
    Offline

    Junior Member

    Posts: 2
    Threads: 0
    Joined: 2024 May
    Reputation: 0
    Country:France
    #25
    2024-05-23, 07:01 PM
    Hello, trickplay is not enable on my libraries .
    VladtheImpaler
    Offline

    Junior Member

    Posts: 15
    Threads: 4
    Joined: 2023 Dec
    Reputation: 0
    Country:United States
    #26
    2024-05-26, 11:43 AM
    I also don't have trickplay enabled
    VladtheImpaler
    Offline

    Junior Member

    Posts: 15
    Threads: 4
    Joined: 2023 Dec
    Reputation: 0
    Country:United States
    #27
    2024-06-06, 01:44 PM (This post was last modified: 2024-06-06, 01:54 PM by VladtheImpaler. Edited 1 time in total.)
    The crashing might be fixed, I disabled scheduled reboot and tested 10.9.3 for 1 week.  Memory usage climbed to 94% of 16g but it seems to be holding steady. When I use another program it's freeing the cache as expected.

    It seems odd to be caching content I watched days or weeks ago.  A setting to adjust the cache limit would be nice, keeping the memory fully loaded 24/7 makes memory stability a top priority.
    VladtheImpaler
    Offline

    Junior Member

    Posts: 15
    Threads: 4
    Joined: 2023 Dec
    Reputation: 0
    Country:United States
    #28
    2024-06-08, 11:39 AM
    Never mind.. It crashed last night

    Event 2004, Resource-Exhaustion-Detector
    Windows successfully diagnosed a low virtual memory condition
    zeeeeeee
    Offline

    Junior Member

    Posts: 2
    Threads: 0
    Joined: 2024 Jun
    Reputation: 0
    Country:United States
    #29
    2024-06-09, 12:58 PM (This post was last modified: 2024-06-09, 12:59 PM by zeeeeeee. Edited 1 time in total.)
    I'm also having this same exact issue. I'm currently running 10.9.6 in a docker container inside a debian VM on proxmox. If I do a library scan, or sometimes just intensive scrolling and navigating, Jellyfin will cause the whole debian container (running on proxmox) to become unresponsive. On a number of occasions I've seen the server console show an out of memory error from Jellyfin. At present, I have to reboot the instance several times a day.
    Mel_Gibson_Real
    Offline

    Junior Member

    Posts: 35
    Threads: 3
    Joined: 2023 Sep
    Reputation: 0
    #30
    2024-06-09, 01:45 PM
    Is it possible its a plugin thats common between everyone having this issue?
    Pages (9): « Previous 1 2 3 4 5 … 9 Next »
     

    « Next Oldest | Next Newest »

    Users browsing this thread: 2 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode