High CPU usage when running Scala project.


I am using Intellij 2018.3.3 community edition. I am having a Scala project... And the CPU usage peaks to 350% and stays that for a while when ever I try to build the project.

My machine is Ubuntu 18. i7 processor (4 cores) and 16 Gb RAM.

Below is my custom VM option

# custom IntelliJ IDEA VM options


 Any ideas???


Did this happen in earlier verson of IntelliJ or Scala plugin? Does it help if you upgrade to IntelliJ 2018.3.4 and Scala plugin 2018.3.6?