I am using Netbeans 8.0.1, and I need to run and test SonarQube analysis from my IDE before sending to SVN. I installed the Netbeans-Radar plugin to run local analysis and verify the results. For this purpose, this plugin has the option "Get problems with Sonnar Runner", as I found on this network: http://code.google.com/p/radar-netbeans/
The problem is that when I run this option, after a moment I get the "Java Heap Space" error. I know what this error means, but I donβt know how to solve it. I tried to increase the heap of Netbeans space by adding the argument "-J-Xmx1024m" to the "netbeans_default_options" property in the ... / Netbeans 8.0 / etc / netbeans.conf file. The Netbeans heap space is really increasing as I check with jvisualVM (the Netbeans process has 1 cube).
The problem is that the plugin starts an independent process and does not use the arguments specified in the netbeans.conf file. In the error log, I see that this command runs:
C:\Program Files (x86)\Java\jdk1.7.0_45\jre\bin\java.exe -cp C:\Users\XXX\AppData\Local\Temp\sonar-runner-impl7326402756121541816.jar org.sonar.runner.impl.BatchLauncherMain C:\Users\XXX\AppData\Local\Temp\sonar-project1505822727125430784.properties
So the question is, can someone tell me how I can customize the Netbeans-Radar plugin to increase a ton of space? How to configure Netbeans or Radar plugin to use the "-Xmx1024m" argument when running java.exe?
I use the following versions: Netbeans 8.0.1, Radar-plugin 2.1
source share