So I recently built a new computer to replace my 7 year old one but I have noticed a strange problem with it.

When I boot up the computer and use it as normal it sits around 8-10 GiB of ram in use plus about another 9 GiB committed.

But when I suspend the computer then un-suspend it later the in use ram starts creeping up even if I have less running than I did when I originally booted the computer.

Last time this happened it went from 10 GiB all the way up to about 43 GiB in the space of a few hours.

If I reboot then things go back to normal behavior.

Anyone have any ideas about what I could look for to fix it?


Specs:

  • Manjaro XFCE 25.0.0 Zetar
  • 6.13.8-2 Kernel
  • Gigabyte B860I AORUS PRO ICE ITX Motherboard
  • Intel Core Ultra 5 245KF CPU
  • 64GB DDR5 RAM
  • 2TB M.2 NVMe
  • MentalEdge@sopuli.xyz
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    2 days ago

    Is it actually being used?

    My guess it just doesn’t evict stuff from before the suspend, starts re-loading stuff after the resume, which makes the apparent amount “used” go up.

    On a normal linux system, “free” RAM will over time drop down to zero, as the kernel puts the extra memory available to use. But it doesn’t mean there isn’t room to evict less-needed stuff if necessary.

    AFAIK linux only starts actively evicting RAM once it fills up.

    Like the other guy mentioned, drill down and see if you can find the actual program causing the problem.