Recommended JVM settings? 关注 Stephan B 创建于 2013年01月06日 10:05 The use of the Scala plugin IntelliJ 12 feels rather slughish. Now I have 8GB of RAM and a quad core CPU, there must be something to do about that.What JVM settings can you guys recommend?RegardsStephan
works for me with 700mb, just close the structure view and deal with the 1-2 seconds of wait for completion. it probably is very complex to get all possible options. java is simpler.
also, i noticed that completion is faster when the type is not infererred but explicit
Well I didn't mean the compilation - I use SBT anyway - I meant the entire IDE is rather slow.
I'm just looking for general good, current JVM settings for a machine with 8GB and quad core (with the Scala plugin in mind).
me neither, i meant code completion. or the combination typing/parsings/completion (that is very fast in java files compared to scala)
If you have a 64 bit OS, you may want to try the 64 bit version of IDEA. It can use more memory which may help since the default memory for 32 bit IDEA gets used up vey quickly by the Scala plugin. I've had it get very sluggish with a Core i7 because it was hitting the max heap size, garbage collecting only a few percent and then having to do it again a few seconds later. More memory can help with this but there are some fairly fundamental inefficiencies at work here.