I had a problem with KDE today
I was coding in IntelliJ IDEA, and started to run the application I coded.
Then the entire KDE freezed. I could not do anything.
For a short while I could move my mouse sluggish, but I could not do anything.
I could not even go out to the console CTRL+ALT+F2 So I could kill whatever whas freezing my desktop.
When I tried to enter tty console, then the entire KDE became frozen.
Nothing should be allowed to freeze the X,Window Manager that way.
I had no choice but to Kill my Computer forcefully but turning it off.
The only thing I know of that could freeze KDE that way is if there is no more free memory. It has happened to me before.
After I booted up again, I opened IntelliJ IDEA and executed the program I was coding, and it ran fine. So the problem is not there.
I know Java uses a lot of memory, both IntelliJ and the program I was running could be using a lot.
In addition I had 2 browsers open (Vivaldi, Chromium), Slack, Steam, Plex, Skype, Signal.
Many of these app are probably also a webapp, but I dont think they consume as much memory as a full fledge browser.
I have 32GB of memory. I am really considering upgrading to 64GB.
Is there any way to safeguard that X, KDE (Window Manager) always has enough memory to function?
At least it should warn me if the memory becomes over a certain threshold so that operation of X/KDE could be impacted.