Bug 455973 - High CPU and memory usage related to QMimeData and DataControlSource
Summary: High CPU and memory usage related to QMimeData and DataControlSource
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-performance (other bugs)
Version First Reported In: 5.25.1
Platform: openSUSE Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-26 19:27 UTC by scripptor
Modified: 2024-05-30 10:56 UTC (History)
1 user (show)

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


Attachments
Picture of GammaRay showing the continuous instanciation of QMimeData & DataControlSource classes (281.49 KB, image/png)
2022-06-26 19:27 UTC, scripptor
Details

Note You need to log in before you can comment on or make changes to this bug.
Description scripptor 2022-06-26 19:27:34 UTC
Created attachment 150173 [details]
Picture of GammaRay showing the continuous instanciation of QMimeData & DataControlSource classes

SUMMARY
After boot, Plasmashell used a very high amount of CPU power and RAM.
It seems to be related to QMimeData (Drag & Drop) and DataControlSource as there was a huge amount of these objects (at the end ~ 8 million). 
This information was shown by GammaRay (screenshot attached).

STEPS TO REPRODUCE
Unknown.

OBSERVED RESULT
High CPU and RAM usage until Plasmashell was killed by the system.

EXPECTED RESULT
No high CPU and memory usage.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 5.25.1
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Probably related to bugs 454590 & 455625, but now in a newer version.