Memory leak in Cinnamon 4.0.9 (Mint 19.1)

Please post suggestions for improvement of Cinnamon here
https://github.com/linuxmint/Cinnamon
Post Reply
bajhn
Level 1
Level 1
Posts: 13
Joined: Thu Nov 29, 2012 9:06 am

Memory leak in Cinnamon 4.0.9 (Mint 19.1)

Post by bajhn » Fri Feb 08, 2019 3:52 pm

Since I upgraded to Mint 19.1 from 18.something at the beginning of the week, I've been noticing that the interface isn't as crisp as I was accustomed to. Cinnamon seemed to be showing up high in the top listing with noticeable CPU time (15-50%), and this morning I realized that the resident working set size had grown to nearly 1 GB. Four hours later, it's at 1.17 GB. My current Cinnamon session is somewhere between 24 and 34 hours since I logged in. What information can I provide to facilitate diagnosis? (I'll attach lnxi output momentarily.)
--
Bruce A. Johnson
Herndon, Virginia

bajhn
Level 1
Level 1
Posts: 13
Joined: Thu Nov 29, 2012 9:06 am

Re: Memory leak in Cinnamon 4.0.9 (Mint 19.1)

Post by bajhn » Fri Feb 08, 2019 3:59 pm

Enabled applets:
  • Cinnamon calendar applet
    Keyboard
    Menu
    Network Manager
    Notifications
    Panel Launchers
    Power Manager
    Removable Drives
    Show Desktop
    Sound
    System Tray
    User Applet
    Window List
    Windows Quick List
    CPU Temperature Indicator
Attachments
inxi-190208.txt
(2.67 KiB) Downloaded 27 times
--
Bruce A. Johnson
Herndon, Virginia

User avatar
Pjotr
Level 21
Level 21
Posts: 13867
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Memory leak in Cinnamon 4.0.9 (Mint 19.1)

Post by Pjotr » Sat Feb 23, 2019 6:54 pm

Self-installed (non-default) applets and desklets are the usual suspects.

Plus you generally have a cleaner and healthier system, when you do a clean installation of a Mint from a newer series, instead of upgrading from one series (18.x) to another (19.x).
Tip: 10 things to do after installing Linux Mint 19.2 Tina
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

bajhn
Level 1
Level 1
Posts: 13
Joined: Thu Nov 29, 2012 9:06 am

Re: Memory leak in Cinnamon 4.0.9 (Mint 19.1)

Post by bajhn » Sun Feb 24, 2019 10:41 am

My upgrade procedure was doing a fresh installation of the OS from the Linux Mint DVD, then losing a tarball of my home directory, so if there's any cruft, it's in my settings. I didn't notice any problem with Cinnamon in my old installation except occasional "Cinnamon has crashed -- do you want to restart it?" messages. They weren't bothersome, and performance never suffered. I could leave my session logged in, with the lock screen on whenever I was away; now Cinnamon is turning into a memory hog after one day.

The only non-default applet I'm aware of is the CPU temperature applet. I have one desklet, the analog clock that came with Mint. I'll try disabling both when I go in tomorrow. I can also see how a freshly created user's profile performs.
--
Bruce A. Johnson
Herndon, Virginia

User avatar
Valsodar
Level 4
Level 4
Posts: 226
Joined: Thu Jul 19, 2018 11:30 pm
Location: Sofia, Bulgaria
Contact:

Re: Memory leak in Cinnamon 4.0.9 (Mint 19.1)

Post by Valsodar » Mon Feb 25, 2019 2:35 am

I had the same problem with Mint immediately after fresh installation. A system reboot did the trick for a while but when I installed Discord 2 days later, the problem returned and the rest of the 40% of the CPU were immediately taken by it. So I installed back 18.3 and now everything's working so smoothly now that one could drift a car on it. :lol:
AsRock B85M Pro4, Core i3-4170, Palit GTX 1050 Ti 4GB, Corsair CX750 PSU, Corsair 32GB DDR3-1600, Corsair Force LE 120GB, WD Caviar Blue + Green = 1.5TB, Firefox 65+ x64, 5.0.13-arch1-1-ARCH Cinnamon

bajhn
Level 1
Level 1
Posts: 13
Joined: Thu Nov 29, 2012 9:06 am

Re: Memory leak in Cinnamon 4.0.9 (Mint 19.1)

Post by bajhn » Thu Feb 28, 2019 11:07 am

It looks the source of my memory leak was the Cinnamon Power Manager applet. I conducted a test over several nights wherein I'd disable one applet or desklet, write down cinnamon's memory usage before going home, and then check it again in the morning. Cinnamon's memory usage actually went down a little overnight after I disabled the Power Manager applet. (FWIW, after disabling and before recording the memory usage, I logged out of Cinnamon and back in again.) I'll try contacting the Power Manager applet folks and see if anything can be done.
--
Bruce A. Johnson
Herndon, Virginia

bajhn
Level 1
Level 1
Posts: 13
Joined: Thu Nov 29, 2012 9:06 am

Re: Memory leak in Cinnamon 4.0.9 (Mint 19.1)

Post by bajhn » Thu Feb 28, 2019 11:19 am

Or maybe not. As part of my diagnostic work, I also created a user and used the default applet set for the same kind of testing, and it looks like that user also had the Power Manager applet enabled, but I didn't see any increase in memory usage for that account. Anyway, I'll still contact the applet folks, as I like having a battery indicator.
--
Bruce A. Johnson
Herndon, Virginia

Post Reply

Return to “Cinnamon”