Bug 455973

Summary: High CPU and memory usage related to QMimeData and DataControlSource
Product: [Plasma] plasmashell Reporter: scripptor
Component: generic-performanceAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: akselmo
Priority: NOR    
Version First Reported In: 5.25.1   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Picture of GammaRay showing the continuous instanciation of QMimeData & DataControlSource classes

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.