This issue seems to be quite frequent in Ubuntu. Sometimes (quite often), it happens that my Ubuntu laptop freezes completely.

This happens under heavy load: for example running two instances of IntelliJ and a Gradle build in the background.

However, I have 8GB RAM and i5 Intel running under the hood and this wasn't happening on my second computer with similar configuration and same Ubuntu version (18.04).

Could you advise, how to debug this? Once the system freezes, I cannot do anything apart from turning off the computer completely.

  • 1
    You could debug this by opening a Terminal and running dmesg -w. Then use your computer until it freezes, keeping the Terminal window visible. After it freezes, see what's printed last. – SurvivalMachine Dec 19 '18 at 14:48
  • Edit your question with the terminal output of free -h and top when IntelliJ and Gradle have run for a few minutes. Do you have any GNOME extensions installed? Report back to @heynnema – heynnema Dec 19 '18 at 15:28
  • 1
    The fact you say it happens under heavy load with multiple copies of IntelliJ open and a gradle build running, on a system with only 8Gb ram, makes me thinks it's a ram issue. When it happens run free and see if your swap is getting hammered. If so you will need to increase your swap space. – nobody special Dec 19 '18 at 15:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.