High CPU usage when running Scala project.

Hi,

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

-Xms128m
-Xmx4096m
-XX:ReservedCodeCacheSize=240m
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50
-ea
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-Djdk.http.auth.tunneling.disabledSchemes=""
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
-Dawt.useSystemAAFontSettings=lcd
-Dsun.java2d.renderer=sun.java2d.marlin.MarlinRenderingEngine

 Any ideas???

1

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?

 

0

请先登录再写评论。