I am working on a Windows-Ubuntu dual boot laptop, mainly using Ubuntu 22.04 for my studies.
In the recent month I was working on a full stack Spring-Boot-Angular web application in IntelliJ and faced at least 5 times (once in a couple of days) a situation, which I can best describe as a "deadlock". My OS was totally frozen, not reacting to any actions, only holding the power button for 3 seconds helped to force a reboot.
The project is an important information, because the frontend & backend development servers as well as IntelliJ indexing the whole JAVA JDK and Sprint-Boot libraries (and loading them into the RAM, as far as I understand) usually take up almost all of my 8 GB RAM and normally the 4 GB SWAP partition is also in extensive use (I see values like 60 percent most of the time with this setup related to swap usage).
In these scenarios, all the sudden, the OS does react anymore.
I have been using Kernel 6.0.0. but after updating to 6.2.7, the behaviour stayed the same.
Could someone please explain me: is this normal?
Might it be a bug in the kernel? Like that the deadlock detection does not cover all cases / is buggy?
After managing to restart, I see Ubuntu logging out the orphaned i-nodes, which I think is quite normal, I just want to mention it, it might be of use.