My plan was to migrate Sonarqube from version 5.1 to version 5.6, but I have to stay with 5.1 for now due to a OutOfMemory issue I cant' get rid of.
I'm running a batch of analysis jobs using the Sonar Runner 2.8. I have
about 60 projects that I analyze one after the other. After about 10 projects, the sonar runner can't access the web service anymore, and the web service is in a critical state with the initial OOM error below:
java.lang.OutOfMemoryError: GC overhead limit exceeded
at org.joni.Matcher.<init>(Matcher.java:61) ~[jruby-complete-1.7.9.jar:na]
at org.joni.StackMachine.<init>(StackMachine.java:44) ~[jruby-complete-1.7.9.jar:na]
...
The full stack trace is in the attached file.
I'm running on Windows 7, with Java version:
> java -version
java version "1.8.0_112"
Java(TM) SE Runtime Environment (build 1.8.0_112-b15)
Java HotSpot(TM) 64-Bit Server VM (build 25.112-b15, mixed mode)
I increased Xmx values for the service, with no change in behavior.
Any suggestions?