• 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 General Questions Insane RAM usage?

     
    • 0 Vote(s) - 0 Average

    Insane RAM usage?

    pixelwave
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2023 Jul
    Reputation: 0
    #1
    2023-07-26, 06:39 AM
    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 ... ?!?


    Attached Files Thumbnail(s)
           
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2023-07-26, 04:40 PM
    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?
    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]
    pixelwave
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2023 Jul
    Reputation: 0
    #3
    2023-07-27, 06:28 AM
    It is super weird ... I also limited memory reservation of the container to 4GB ... still sitting at a total for 13GB RAM.


    Attached Files Thumbnail(s)
           
    Grumblegoof
    Offline

    Junior Member

    Posts: 2
    Threads: 0
    Joined: 2023 Jul
    Reputation: 0
    #4
    2023-07-27, 07:51 AM
    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.
    gofaster
    Offline

    Junior Member

    Posts: 1
    Threads: 0
    Joined: 2023 Jun
    Reputation: 0
    Country:United States
    #5
    2023-07-28, 02:00 PM
    Try installing the Guest Agent in the VM; to accurately report memory stats.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 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