Bug 480100 - Memory is not released after activating overview/show desktops effects leading to OOM killing of plasmashell and kwin
Summary: Memory is not released after activating overview/show desktops effects leadin...
Status: RESOLVED DUPLICATE of bug 478770
Alias: None
Product: kwin
Classification: Plasma
Component: compositing (show other bugs)
Version: 5.92.0
Platform: Arch Linux Linux
: NOR major
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-01-20 16:02 UTC by Kenneth
Modified: 2024-01-20 23:16 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Output of `journalctl` after OOM (959.64 KB, text/x-log)
2024-01-20 16:02 UTC, Kenneth
Details
Output of `dmidecode -t system` (605 bytes, text/plain)
2024-01-20 16:04 UTC, Kenneth
Details
Output of `qdbus org.kde.KWin /KWin org.kde.KWin.supportInformation` (6.54 KB, text/plain)
2024-01-20 17:51 UTC, Kenneth
Details
Outputs of `plasmarc`, `plasmashellrc`, `plasma-org.kde.plasma.desktop-appletsrc` (8.66 KB, text/plain)
2024-01-20 17:54 UTC, Kenneth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kenneth 2024-01-20 16:02:03 UTC
Created attachment 165078 [details]
Output of `journalctl` after OOM

SUMMARY

Repeatedly activating overview or show desktop effects memory used by user environment surges up and is not released back to system, leading to out of memory killing of plasmashell and kwin.

STEPS TO REPRODUCE
1. Boot system
2. Log into plasma 6 RC1 (wayland-session)
3. Start activating overview/show_desktop effects using 4-finger touchpad gestures
4. After a 100 or so OOM kills plasmashell and kwin. One cycle of 3 4-finger gestures down/up consumes about 50-100MB of memory. Very rough estimate, measured visually through "System Monitor" app.

OBSERVED RESULT

plasmashell is killed and restarted automatically

EXPECTED RESULT

Memory held by system to stay at the same level no matter how much I'm using overview/show_desktops effects.

SOFTWARE/OS VERSIONS
OS:  Linux 6.7.0-zen3-1.1-zen ZEN SMP PREEMPT_DYNAMIC kernel, Endeavouros (based on Arch Linux, uses Arch Linux repos directly)
KDE Plasma Version: 5.92.0
KDE Frameworks Version: 5.248.0
Qt Version: 6.7.0 (Arch Linux packages Plasma 6 with Qt 6.7 despite recommendations)

ADDITIONAL INFORMATION:

## Harware

Processor: 16 × 13th Gen Intel® Core™ i5-1340P
Memory: 15.2 GiB of RAM
Graphics: Mesa Intel® Graphics (using mesa 1:23.3.3-1 from archlinux extra repo)
Manufacturer: ASUSTeK COMPUTER INC.

I'm happy to provide any additional information needed and reproduce the bug if needed. Thanks
Comment 1 Kenneth 2024-01-20 16:04:11 UTC
Created attachment 165079 [details]
Output of `dmidecode -t system`
Comment 2 Kenneth 2024-01-20 17:51:16 UTC
Created attachment 165081 [details]
Output of `qdbus org.kde.KWin /KWin org.kde.KWin.supportInformation`
Comment 3 Kenneth 2024-01-20 17:54:08 UTC
Created attachment 165082 [details]
Outputs of `plasmarc`, `plasmashellrc`, `plasma-org.kde.plasma.desktop-appletsrc`
Comment 4 Kenneth 2024-01-20 23:16:27 UTC
*** This bug has been marked as a duplicate of bug 478770 ***