IDEA 11.x long GC pauses (especially when using the Scala plugin)

Hi there,

I've been using IntelliJ IDEA Ultimate since 9.x (2.5 years for now). Currently using 117.912 with its latest Scala plugin, on Mac OS X 10.7.6
When editing large projects (12+ modules), especially in Scala classes, I'm experiencing terribly long GC times, the frequency of which gets higher the longer I'm keeping the IDEA instance running.
My vmoptions is set as follows:

-Xms2G -Xmx2G -XX:MaxPermSize=350m -XX:ReservedCodeCacheSize=64m -XX:+UseCompressedOops

I've been looking at threads regarding GC settings and it seems like nothing new's been said in the last couple of years.
Do the JetBrains guys have anything new to add? did anyone try using G1GC ever since JDK7 became GA? any other ideas, other than decreasing the heap size (which becomes irrelevant with large projects, especially using the Scala plugin)?
Should I move to 12 EAP + latest Scala plugin?

Comment actions Permalink

Hi Shai,

Asked our scala guys to have a look here.


Comment actions Permalink

Hi, Shai,

IDEA 12 with Scala plugin is more responsive, you have to try it to check if helps to you. Otherwise please create an issue to our tracker with memory snapshot, I'll try to check, where we can decrease memory usage in this case.

For Scala realated issues please use separate forum: Then you'll get an answer faster.

Best regards,
Alexander Podkhalyuzin.


Please sign in to leave a comment.