Possibly related:

screen shot of memory usage by app, showing Firefox using over 18GB of RAM

I also don’t understand why every chat app needs 1GB of RAM to itself.

  • Oinks@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    5 days ago

    Many people who don’t know what they’re talking about in this thread. No, used memory does not include cached memory. You can confirm this trivially by running free -m and adding up the numbers (used + cached + free = total). Used memory can not be reclaimed until the process holding it frees it or dies. Not all cached memory can be reclaimed either, which is why the kernel reports an estimate of available memory. That’s the number that really matters, because aside from some edges cases that’s the number that determines whether you’re out of memory or not.

    Anyway the fact that you can’t run Linux with 16GB is weird and indicates that some software you are using has a RAM leak (a Firefox extension perhaps?). Firefox will use memory if it’s there but it’s designed to cope with low memory as well, it just unloads tabs quicker so you have to reload often. There are also extensions that make tab unloading more aggressive, maybe that would help - especially if there’s memory pressure from other processes too.

  • zen!th@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    6 days ago

    every chat app might use ~1GB because most of them are electron apps, which all spawn their own instance of chromium

  • miss_demeanour@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    6 days ago

    It’s already been explained elsewhere, but the cache can be free, as needed - that’s how linux works.
    There’s 57+ GB available ram, yet.