Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cinnamon 5.4.x is using a lot more RAM than 5.3.x did #10900

Open
nick-s-b opened this issue Jul 4, 2022 · 5 comments
Open

Cinnamon 5.4.x is using a lot more RAM than 5.3.x did #10900

nick-s-b opened this issue Jul 4, 2022 · 5 comments

Comments

@nick-s-b
Copy link

nick-s-b commented Jul 4, 2022

 * Cinnamon version (cinnamon --version)
Cinnamon 5.4.2
 * Distribution - (Mint 17.2, Arch, Fedora 25, etc...)
Linux ArchLinux 5.18.8-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 29 Jun 2022 23:03:08 +0000 x86_64 GNU/Linux
 * Graphics hardware *and* driver used
Nvidia 515.57
 * 32 or 64 bit
64bit

Issue
Long time ago, I setup a small script that check and displays notifications when cinnamon process crosses some memory threshold. Prior to upgrade to 5.4.0, I had that limit set to 1.5GB. Only once every few months I would get a notification.

After upgrading to 5.4.x, I was getting the notification all the time so I changed the script to notify me after 1.7GB is crossed. Now I get a notification every hour or so and the only "solution" is to restart the process.

Today I decided not to restart after crossing the 1.7GB just to see how high it will go. Well, cinnamon is using over 2.1GB or RAM now.

Screenshot at 2022-07-04 16-22-44

I have a 4K display with ~10 Chromium windows each with multiple tabs open, I have 4 terminal windows open, 4-5 mpv videos open (minimized), 4 PDFs open with Xreader

Steps to reproduce
Upgrade, use it as you normally would, open a bunch of windows and watch the memory usage spike.

Expected behaviour
I'm not sure if this is a memory leak or something else has changed in 5.4.x

@cocoa1231
Copy link

Can confirm, I had this too in lmde, had to switch to manjaro because computer was getting unusable for my work

@mtwebster
Copy link
Member

@cocoa1231 What graphics card are you using?

I've noticed this as well but only for my nvidia desktop. With my laptop using intel I've got 60 hours uptime on cinnamon and memory holds at 278mb - not much different than 5.2, for me at least.

I'll try to track down why this is happening - I notice a significant jump when changing my display setup, for instance.

@JosephMcc
Copy link
Contributor

JosephMcc commented Jul 11, 2022

If @cocoa1231 had this issue on LMDE then I assume it wouldn't be related to Cinnamon 5.4 changes.

I'm on Nvidia and currently sitting at 240mb after 29 hours. I'll keep an eye on it.

@nick-s-b You said you are on a 4K display. Are you using the fractional scaling settings by chance?

@nick-s-b
Copy link
Author

@JosephMcc No. my monitor scale is set to 100% or 1:1.
Screenshot at 2022-07-12 13-29-30-fs8

@cocoa1231
Copy link

@JosephMcc I'm not on Nvidia. It's a laptop with Core i5 and Intel integrated graphics. 12GB of DDR4 memory. I was noticing that on LMDE my resource usage was spiking up to 40% with just 5 or 7 firefox tabs, a few terminals and VSCodium open. I needed to analyze large datasets with Julia but the memory usage went up too high for the laptop to be functional with the dataset loaded once in memory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants