Created attachment 177838 [details] Screenshot from a phone SUMMARY Spectacle gets random memory leaks. Once the memory usage starts climbing, screenshotting no longer works. Eventually oomkiller kicks in and reports that "The background service app-org.kde.spectacle.service has been terminated by the Linux kernel because the system is low on memory." If I don't have the oomkiller enabled, the system will eventually go into an unusable state. I have lost unsaved data to this several times before enabling oomkiller I have no idea what triggers this. SOFTWARE/OS VERSIONS Linux: Arch Linux KDE Plasma Version: 6.2.91 KDE Frameworks Version: 6.10.0 Qt Version: 6.9.0
Is this running on a virtual machine on a phone? Also, do you not use systemd? While a memory leak is certainly a serious issue that should be fixed, Spectacle doesn't normally need to constantly run in the background. It should come with a systemd service `app-org.kde.spectacle.service` that will launch spectacle as needed. You may be able to avoid this problem until the issue is fixed.
Actually, I'm not sure what the systemd service is for, so disregard that. In any case, global shortcuts should be able to launch spectacle without needing it to run in the background.
I took the screenshot on a phone because the screenshot utilities would not work on the PC when the memory leak happens. It's an ssh connection.