this post was submitted on 01 Apr 2025
13 points (84.2% liked)

Linux

52710 readers
458 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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
top 6 comments
sorted by: hot top controversial new old
[–] [email protected] 5 points 1 day ago* (last edited 1 day 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.

[–] [email protected] 2 points 1 day ago

What is the output of "free -h"?

[–] [email protected] 5 points 1 day ago (1 children)

Can you see with top or ps what program is eating up all the RAM? Probably some bug you may report.

[–] [email protected] 1 points 1 day ago

Will check after work today.

[–] [email protected] 1 points 1 day ago (1 children)

What desktop environment are you using?