After trying a few ways to run Affinity through Wine, plasmashell started using around 5 GiB of RAM and noticeable CPU. It still happens when Affinity is closed. A separate desktop account uses closer to 2 GiB, so I suspect something in my Plasma setup, but Iโm not sure how to track it down. Iโm on CachyOS. What should I check first?
Why is plasmashell using so much memory after I tried installing Affinity?
Answers
The difference between accounts points toward something in your userโs Plasma session, rather than a system-wide setting. Widgets, tray icons, and other items loaded into the shell are good places to start. Disable or remove recent additions one at a time, then log out and back in to see whether the memory use changes.
Reply to this answer
I wouldnโt assume Affinity itself is the cause just because the timing lines up. Since the high usage continues after the app closes, compare a session with the Wine processes stopped against one with them running. Also check whether you have a dynamic system-tray application or widget that behaves differently when Wine apps appear.
Reply to this answer
Check what is actually using memory before changing system services. In System Monitor, look at the plasmashell process and note whether its memory steadily climbs or stays high. You can also restart plasmashell as a temporary test. If it starts low and grows again, that supports a leak or a particular shell component; a restart is only a workaround, not a fix.
Q5~Twill:
Would restarting the shell help identify whether itโs a leak?
Reply to this answer
Plasmaโs memory use can vary with the session and its loaded components, so the number alone doesnโt prove a problem. But several GiB plus sustained CPU is worth investigating, especially when another account behaves differently. Compare the two accountsโ widgets, startup applications, and tray items rather than disabling system services at random.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Fennix-8Q:
That makes sense, but I donโt know which item is responsible. Is there a way to narrow it down?
W2__Dextrin:
Try a clean Plasma layout or temporarily disable your widgets and tray applets, then re-enable them one by one. If the memory drops, you have a much smaller set of suspects.