this post was submitted on 01 Apr 2025
15 points (85.7% liked)

Linux

52857 readers
596 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
you are viewing a single comment's thread
view the rest of the comments
[–] dr_jekell@lemmy.world 1 points 4 days ago (1 children)

Here is what I started with:

And what I have today after 3 suspends:

[–] Markaos@discuss.tchncs.de 2 points 4 days ago* (last edited 4 days ago) (1 children)

xfwm is XFCE's window manager, and it's eating almost 30% of the total system memory, so that's the prime suspect (I'm not exactly sure how much it interacts with other apps, so it's possible something else is forcing xfwm to use all that memory, but that is IMHO unlikely).

An ugly "fix" is to log out and log back in (yes, not much better than just rebooting), or you could try to somehow restart xfwm - running xfvm --replace in terminal might work.

Edit: there's an issue on the Manjaro forums that might be related: https://forum.manjaro.org/t/xfwm4-memory-leak-since-4-20/173910/7

[–] dr_jekell@lemmy.world 1 points 21 hours ago

Of course it would be a Nvidia driver issue.

Thought about getting a AMD card but as I had only had one major issue with my previous 1070 (that was fixed by reloading my Timeshift snapshot then not upgrading the driver until the next version) so I thought that I would continue with Nvidia.

Eh, I can't change it for now but at least I know what is causing it and can work around it.

Thanks for the assist.