How to fix kernel panik?

Since the general kernel issue my installation freezes whenever I open android-studio. The whole system freezes and caps lock starts blinking. How can I fix this issue?

Sometimes it only freezes after 5 minutes but that really rarely happens but most of the time it instantly freezes as soon as android-studio fully launched. Meaning, I am not able to use android-studio anymore.

  • Switching to the lts kernel didn’t solve the issue.
  • there’s no sudden increase in RAM usage as far as I can observe it. (40% RAM usage if idle with android-studio, with a total of 16GB RAM, no swap)

How can I approach this?

Test your RAM and stress your CPU.