Skip to content

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

Open
@nick-s-b

Description

@nick-s-b
 * 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions