Is it safe to apply these JVM tweaks to IDEA?

Hi,


I've read this article http://www.infoq.com/news/2015/03/eclipse-optimizer which is related on improving the performance of Eclipse by tunning some JVM parameters.
Then I've applied the following changes to the idea64.vmoptions:

- -XX:+UseConcMarkSweepGC
+ -Xverify:none
+ -server
+ -XX:+UseParallelGC

(I've removed -XX:+UseConcMarkSweepGC and added the other three lines at the end)

I've noticed a considerable speed improvement for my IDE (especially since my laptop is a bit older). I've run like this for about a day now and I haven't noticed any side effects.

What I don't know, and here's where the question comes in: Is it safe to apply these JVM settings and run the IDE or not?

I'm on Ubuntu 14.10 x64, with the following java version:
java version "1.8.0_40"
Java(TM) SE Runtime Environment (build 1.8.0_40-b25)
Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode


Thank you for your time and help.


Kind regards,
Florin

1 comment
Comment actions Permalink

We don't recommend tweaking the default .vmoptions unsless you fully understand what every custom option is doing.

If it improves the performance for your specific configuration and doesn't break anything, then it's great, feel free to use these options.

When reporting performance issues it's recommended to stick to the defaults, otherwise some options can introduce negative effect (I've seen a case when one option has improved performance in general, but one specific operation in IDEA became 100x times slower).

The options you've mentioned should be safe, though.

0

Please sign in to leave a comment.