Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to set JVM options for IntelliJ's RemoteMavenServer?

I was playing with -XX:+CompressedOops in IntelliJ's idea.vmoptions and I noticed that the RemoteMavenServer process started by IntelliJ doesn't use those settings.

Adding the option to the Maven runner settings didn't help either.

Is there any way to configure the RemoteMavenServer JVM options?

like image 518
Dan Berindei Avatar asked Nov 21 '11 16:11

Dan Berindei


People also ask

Where do I put JVM options?

Open the youtrack. jvmoptions file. For a ZIP distribution, the file is located in the <YouTrack installation directory>/conf directory. Edit the JVM options directly in the file.

How do I change JVM options in IntelliJ?

Configure JVM optionsFrom the main menu, select Help | Edit Custom VM Options. If you do not have any project open, on the Welcome screen, click Configure and then Edit Custom VM Options. If you cannot start IntelliJ IDEA, manually copy the default file with JVM options to the IntelliJ IDEA configuration directory.

What are JVM options?

JVM Options Overview There are three types of options that you can add to your JVM, standard, non-standard and advanced options. If you apply an advanced option, you always precede the option with -XX: . Similarly if you're using a non-standard option, you'll use -X .


1 Answers

The RemoteMavenServer process will use the JVM options specified in the MAVEN_OPTS environment variable (inherited from the IDEA process).

Please follow: http://youtrack.jetbrains.net/issue/IDEA-60719.

like image 192
Anton Makeev Avatar answered Sep 22 '22 19:09

Anton Makeev