KDE starts memory leak immediately after update

Immediately after the update that renames KDE and plasma packages with a 5 at the end of their name, KDE and plasma start to have a memory leak. The system becomes unresponsive. I reboot and can see the login page.
When I log in, it freezes on the plasma framework splash screen and then turns black. Switching over to tty3, I’m able to timeshift back to a safe snapshot before the update. But I can’t seem to update the system.

OS: EndeavourOS Linux x86_64
Kernel: 6.1.60-1-lts
Resolution: 2560x1440
DE: Plasma 5.27.9
WM: KWin
Theme: Breeze Light [Plasma], Breeze [GTK2/3]
Icons: Fluent-grey [Plasma], Fluent-grey [GTK2/3]
CPU: AMD Ryzen 5 5600X (12) @ 4.200GHz
GPU: NVIDIA GeForce RTX 3070 Ti
Memory: 3554MiB / 15904MiB

Any help is appreciated.

Quick thing to point out.

When I tried updating the system (yay -Syu)
I pulled up Htop and noticed kded5 consuming all the memory

6.1.63 is currently the latest lts. So you might want to update again as you are several weeks behind on updates - chances are your issue is already gone again.
You might want to refresh your mirror list first to solve your update issue and after you have to say yes to all replace - questions during the update.

you might want to switch to breeze - icons before doing the update, could also be an incomaptible icon pack.

That being said, I have not noticed any memory leak in KDE for the last weeks, currently I have 10 hours uptime and RAM usage is completely normal.

2 Likes

The last safe version I can work on is 6.1.60-1-lts. The update that breaks my system takes me to 6.1.63.

I changed the icon pack but it didn’t work

Theme: Breeze Light [Plasma], Breeze [GTK2/3]
Icons: [Plasma], breeze-dark [GTK2/3]

Okay, some good news for anyone else who has faced this problem. I found the fix on the Arch Linux forum. https://bbs.archlinux.org/viewtopic.php?pid=2131634#p2131634

The problem had to do with a corrupted mime.cache.
Deleting and recreating them as instructed in the link fixed it for me.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.