https://bugs.kde.org/show_bug.cgi?id=467841
Bug ID: 467841 Summary: PlasmaDesktopTheme::syncWindow() uses a lot of memory Classification: Frameworks and Libraries Product: frameworks-qqc2-desktop-style Version: 5.104.0 Platform: Archlinux OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: kdelibs-b...@kde.org Reporter: liu...@gmail.com CC: ahiems...@heimr.nl, k...@davidedmundson.co.uk, noaha...@gmail.com, notm...@gmail.com Target Milestone: --- SUMMARY I've observed that plasmashell sometimes keeps allocating more and more memory - over 20GB in a few minutes, but normally it should use less than 500MB. Most of the memory is allocated by this line in `PlasmaDesktopTheme::syncWindow()`. connect(qw, &QQuickWindow::sceneGraphInitialized, this, &PlasmaDesktopTheme::syncWindow). I tried adding `Qt::UniqueConnection` to this connection, and so far the problem has not reappeared, and no other problems have been observed. STEPS TO REPRODUCE 1. start plasmashell 2. switch to another tty 3. wait for some time (about 30 minutes) SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: 5.27.3 (available in About System) KDE Plasma Version: 5.27.3 KDE Frameworks Version: 5.104.0 Qt Version: 5.15.8 X11 ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.