Dan Berindei
Dan Berindei

Reputation: 7194

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?

Upvotes: 5

Views: 5090

Answers (2)

Dan Berindei
Dan Berindei

Reputation: 7194

Anton's answer is no longer correct. IntelliJ 12.0.1 introduced a new UI for configuring the VM arguments of the RemoteMavenServer process instead of using MAVEN_OPTS:

File -> Settings -> Maven -> Importer -> VM options for maven import process

Upvotes: 2

Anton Makeev
Anton Makeev

Reputation: 1084

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.

Upvotes: 3

Related Questions