GC overhead limit exceeded when analyzing a huge project with Java plugin 3.3

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

GC overhead limit exceeded when analyzing a huge project with Java plugin 3.3

Laurent TOURREAU-2

Hi guys

I am facing a serious issue when running analysis on a huge project.

Before the issue occurs the config was

-SonarQube 5.1 with Java plugin 3.0 / Checkstyle 2.1 / PMD 2.3

 

Now the config is:

SonarQube 5.1 with Java plugin 3.3 / Checkstyle 2.3 / PMD 2.4.1

 

[INFO] [15:58:16.368] 158 files indexed

[INFO] [15:58:16.995] Quality profile for java: StandardQuality

[INFO] [15:58:17.069] JIRA issues sensor will not run as some parameters are missing.

[INFO] [15:58:17.072] Sensor JavaSquidSensor

[INFO] [15:58:17.385] Java Main Files AST scan...

[INFO] [15:58:17.386] 158 source files to be analyzed

[INFO] [15:58:27.386] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [15:58:37.387] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [15:58:47.942] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [15:58:59.290] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [15:59:11.592] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [15:59:23.299] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [15:59:37.397] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [15:59:49.485] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:00:06.062] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:00:21.690] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:00:36.769] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:00:47.864] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:00:58.929] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:01:10.544] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:01:21.022] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:01:34.839] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:01:48.373] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:02:02.408] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:02:16.333] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:02:27.326] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:02:37.639] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:02:51.413] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:03:05.502] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:03:23.602] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:03:36.354] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:03:47.634] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:03:58.462] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:04:09.959] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:04:20.976] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:04:31.737] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:04:43.975] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:04:55.888] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:05:09.096] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:05:22.244] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:05:35.038] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:05:47.008] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:05:58.097] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:06:09.292] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:06:20.288] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:06:31.319] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:06:42.449] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:06:53.646] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] ------------------------------------------------------------------------

[INFO] Reactor Summary:

[INFO]

[INFO] mymodule1 ............................. SKIPPED

[INFO] MYAPP ............................................ FAILURE [29:09 min]

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 29:17 min

[INFO] Finished at: 2015-05-28T16:06:54+01:00

[INFO] Final Memory: 180M/2606M

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.6:sonar (default-cli) on project myapp: GC overhead limit exceeded -> [Help 1]

org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.6:sonar (default-cli) on project murexbo: GC overhead limit exceeded

                at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)

                at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)

                at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)

                at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)

                at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)

                at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)

                at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)

                at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355)

                at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)

                at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)

                at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)

                at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                at java.lang.reflect.Method.invoke(Method.java:606)

                at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)

                at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)

                at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)

                at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)

Caused by: org.apache.maven.plugin.MojoExecutionException: GC overhead limit exceeded

                at org.codehaus.mojo.sonar.bootstrap.ExceptionHandling.handle(ExceptionHandling.java:41)

                at org.codehaus.mojo.sonar.bootstrap.RunnerBootstraper.execute(RunnerBootstraper.java:139)

                at org.codehaus.mojo.sonar.SonarMojo.execute(SonarMojo.java:132)

                at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)

                at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)

                ... 19 more

Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded

                at com.google.common.collect.StandardTable.row(StandardTable.java:336)

                at com.google.common.collect.HashBasedTable.row(HashBasedTable.java:52)

                at com.google.common.collect.StandardTable$RowMap$EntryIterator.next(StandardTable.java:1001)

                at com.google.common.collect.StandardTable$RowMap$EntryIterator.next(StandardTable.java:992)

                at org.sonar.java.symexec.ExecutionState.invalidateFields(ExecutionState.java:213)

                at org.sonar.java.symexec.SymbolicEvaluator$ConditionVisitor.visitMethodInvocation(SymbolicEvaluator.java:260)

                at org.sonar.java.model.expression.MethodInvocationTreeImpl.accept(MethodInvocationTreeImpl.java:102)

                at org.sonar.plugins.java.api.tree.BaseTreeVisitor.scan(BaseTreeVisitor.java:42)

                at org.sonar.java.symexec.SymbolicEvaluator$ConditionVisitor.evaluate(SymbolicEvaluator.java:190)

                at org.sonar.java.symexec.SymbolicEvaluator.evaluateCondition(SymbolicEvaluator.java:84)

                at org.sonar.java.symexec.SymbolicEvaluator$ConditionVisitor.evaluateConditionalAnd(SymbolicEvaluator.java:278)

                at org.sonar.java.symexec.SymbolicEvaluator$BaseExpressionVisitor.visitBinaryExpression(SymbolicEvaluator.java:107)

                at org.sonar.java.model.expression.BinaryExpressionTreeImpl.accept(BinaryExpressionTreeImpl.java:85)

                at org.sonar.plugins.java.api.tree.BaseTreeVisitor.scan(BaseTreeVisitor.java:42)

                at org.sonar.java.symexec.SymbolicEvaluator$ConditionVisitor.evaluate(SymbolicEvaluator.java:190)

                at org.sonar.java.symexec.SymbolicEvaluator.evaluateCondition(SymbolicEvaluator.java:84)

                at org.sonar.java.symexec.SymbolicEvaluator$ConditionVisitor.evaluateConditionalAnd(SymbolicEvaluator.java:278)

                at org.sonar.java.symexec.SymbolicEvaluator$BaseExpressionVisitor.visitBinaryExpression(SymbolicEvaluator.java:107)

                at org.sonar.java.model.expression.BinaryExpressionTreeImpl.accept(BinaryExpressionTreeImpl.java:85)

                at org.sonar.plugins.java.api.tree.BaseTreeVisitor.scan(BaseTreeVisitor.java:42)

                at org.sonar.java.symexec.SymbolicEvaluator$ConditionVisitor.evaluate(SymbolicEvaluator.java:190)

                at org.sonar.java.symexec.SymbolicEvaluator.evaluateCondition(SymbolicEvaluator.java:84)

                at org.sonar.java.symexec.SymbolicEvaluator$ConditionVisitor.evaluateConditionalAnd(SymbolicEvaluator.java:278)

                at org.sonar.java.symexec.SymbolicEvaluator$BaseExpressionVisitor.visitBinaryExpression(SymbolicEvaluator.java:107)

                at org.sonar.java.model.expression.BinaryExpressionTreeImpl.accept(BinaryExpressionTreeImpl.java:85)

                at org.sonar.plugins.java.api.tree.BaseTreeVisitor.scan(BaseTreeVisitor.java:42)

                at org.sonar.java.symexec.SymbolicEvaluator$ConditionVisitor.evaluate(SymbolicEvaluator.java:190)

                at org.sonar.java.symexec.SymbolicEvaluator.evaluateCondition(SymbolicEvaluator.java:84)

                at org.sonar.java.symexec.SymbolicEvaluator$ConditionVisitor.evaluateConditionalAnd(SymbolicEvaluator.java:278)

                at org.sonar.java.symexec.SymbolicEvaluator$BaseExpressionVisitor.visitBinaryExpression(SymbolicEvaluator.java:107)

                at org.sonar.java.model.expression.BinaryExpressionTreeImpl.accept(BinaryExpressionTreeImpl.java:85)

                at org.sonar.plugins.java.api.tree.BaseTreeVisitor.scan(BaseTreeVisitor.java:42)

[ERROR]

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

[ERROR]

 

What can we do?

 

Cordialement / Best regards

 

Laurent TOURREAU

Fixed Income IT F2B BO CMQA Team

 

 

This message and any attachments (the "message") is
intended solely for the intended addressees and is confidential.
If you receive this message in error,or are not the intended recipient(s),
please delete it and any copies from your systems and immediately notify
the sender. Any unauthorized view, use that does not comply with its purpose,
dissemination or disclosure, either whole or partial, is prohibited. Since the internet
cannot guarantee the integrity of this message which may not be reliable, BNP PARIBAS
(and its subsidiaries) shall not be liable for the message if modified, changed or falsified.
Do not print this message unless it is necessary,consider the environment.

----------------------------------------------------------------------------------------------------------------------------------

Ce message et toutes les pieces jointes (ci-apres le "message")
sont etablis a l'intention exclusive de ses destinataires et sont confidentiels.
Si vous recevez ce message par erreur ou s'il ne vous est pas destine,
merci de le detruire ainsi que toute copie de votre systeme et d'en avertir
immediatement l'expediteur. Toute lecture non autorisee, toute utilisation de
ce message qui n'est pas conforme a sa destination, toute diffusion ou toute
publication, totale ou partielle, est interdite. L'Internet ne permettant pas d'assurer
l'integrite de ce message electronique susceptible d'alteration, BNP Paribas
(et ses filiales) decline(nt) toute responsabilite au titre de ce message dans l'hypothese
ou il aurait ete modifie, deforme ou falsifie.
N'imprimez ce message que si necessaire, pensez a l'environnement.

Reply | Threaded
Open this post in threaded view
|

Re: GC overhead limit exceeded when analyzing a huge project with Java plugin 3.3

Nicolas Peru
Hi Laurent,
Can you post back your question to https://groups.google.com/forum/#!forum/sonarqube so we can discuss this there. Thanks. 



Nicolas PERU | SonarSource
Senior Developer
http://sonarsource.com


2015-05-28 18:22 GMT+02:00 Laurent TOURREAU <[hidden email]>:

Hi guys

I am facing a serious issue when running analysis on a huge project.

Before the issue occurs the config was

-SonarQube 5.1 with Java plugin 3.0 / Checkstyle 2.1 / PMD 2.3

 

Now the config is:

SonarQube 5.1 with Java plugin 3.3 / Checkstyle 2.3 / PMD 2.4.1

 

[INFO] [15:58:16.368] 158 files indexed

[INFO] [15:58:16.995] Quality profile for java: StandardQuality

[INFO] [15:58:17.069] JIRA issues sensor will not run as some parameters are missing.

[INFO] [15:58:17.072] Sensor JavaSquidSensor

[INFO] [15:58:17.385] Java Main Files AST scan...

[INFO] [15:58:17.386] 158 source files to be analyzed

[INFO] [15:58:27.386] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [15:58:37.387] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [15:58:47.942] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [15:58:59.290] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [15:59:11.592] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [15:59:23.299] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [15:59:37.397] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [15:59:49.485] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:00:06.062] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:00:21.690] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:00:36.769] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:00:47.864] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:00:58.929] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:01:10.544] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:01:21.022] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:01:34.839] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:01:48.373] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:02:02.408] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:02:16.333] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:02:27.326] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:02:37.639] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:02:51.413] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:03:05.502] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:03:23.602] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:03:36.354] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:03:47.634] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:03:58.462] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:04:09.959] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:04:20.976] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:04:31.737] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:04:43.975] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:04:55.888] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:05:09.096] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:05:22.244] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:05:35.038] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:05:47.008] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:05:58.097] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:06:09.292] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:06:20.288] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:06:31.319] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:06:42.449] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] [16:06:53.646] 54/158 files analyzed, current is /apps/myapp/src/main/java/com/mycompany/myapp/BulkMOP.java

[INFO] ------------------------------------------------------------------------

[INFO] Reactor Summary:

[INFO]

[INFO] mymodule1 ............................. SKIPPED

[INFO] MYAPP ............................................ FAILURE [29:09 min]

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 29:17 min

[INFO] Finished at: 2015-05-28T16:06:54+01:00

[INFO] Final Memory: 180M/2606M

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.6:sonar (default-cli) on project myapp: GC overhead limit exceeded -> [Help 1]

org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.6:sonar (default-cli) on project murexbo: GC overhead limit exceeded

                at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)

                at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)

                at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)

                at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)

                at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)

                at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)

                at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)

                at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355)

                at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)

                at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)

                at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)

                at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                at java.lang.reflect.Method.invoke(Method.java:606)

                at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)

                at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)

                at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)

                at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)

Caused by: org.apache.maven.plugin.MojoExecutionException: GC overhead limit exceeded

                at org.codehaus.mojo.sonar.bootstrap.ExceptionHandling.handle(ExceptionHandling.java:41)

                at org.codehaus.mojo.sonar.bootstrap.RunnerBootstraper.execute(RunnerBootstraper.java:139)

                at org.codehaus.mojo.sonar.SonarMojo.execute(SonarMojo.java:132)

                at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)

                at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)

                ... 19 more

Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded

                at com.google.common.collect.StandardTable.row(StandardTable.java:336)

                at com.google.common.collect.HashBasedTable.row(HashBasedTable.java:52)

                at com.google.common.collect.StandardTable$RowMap$EntryIterator.next(StandardTable.java:1001)

                at com.google.common.collect.StandardTable$RowMap$EntryIterator.next(StandardTable.java:992)

                at org.sonar.java.symexec.ExecutionState.invalidateFields(ExecutionState.java:213)

                at org.sonar.java.symexec.SymbolicEvaluator$ConditionVisitor.visitMethodInvocation(SymbolicEvaluator.java:260)

                at org.sonar.java.model.expression.MethodInvocationTreeImpl.accept(MethodInvocationTreeImpl.java:102)

                at org.sonar.plugins.java.api.tree.BaseTreeVisitor.scan(BaseTreeVisitor.java:42)

                at org.sonar.java.symexec.SymbolicEvaluator$ConditionVisitor.evaluate(SymbolicEvaluator.java:190)

                at org.sonar.java.symexec.SymbolicEvaluator.evaluateCondition(SymbolicEvaluator.java:84)

                at org.sonar.java.symexec.SymbolicEvaluator$ConditionVisitor.evaluateConditionalAnd(SymbolicEvaluator.java:278)

                at org.sonar.java.symexec.SymbolicEvaluator$BaseExpressionVisitor.visitBinaryExpression(SymbolicEvaluator.java:107)

                at org.sonar.java.model.expression.BinaryExpressionTreeImpl.accept(BinaryExpressionTreeImpl.java:85)

                at org.sonar.plugins.java.api.tree.BaseTreeVisitor.scan(BaseTreeVisitor.java:42)

                at org.sonar.java.symexec.SymbolicEvaluator$ConditionVisitor.evaluate(SymbolicEvaluator.java:190)

                at org.sonar.java.symexec.SymbolicEvaluator.evaluateCondition(SymbolicEvaluator.java:84)

                at org.sonar.java.symexec.SymbolicEvaluator$ConditionVisitor.evaluateConditionalAnd(SymbolicEvaluator.java:278)

                at org.sonar.java.symexec.SymbolicEvaluator$BaseExpressionVisitor.visitBinaryExpression(SymbolicEvaluator.java:107)

                at org.sonar.java.model.expression.BinaryExpressionTreeImpl.accept(BinaryExpressionTreeImpl.java:85)

                at org.sonar.plugins.java.api.tree.BaseTreeVisitor.scan(BaseTreeVisitor.java:42)

                at org.sonar.java.symexec.SymbolicEvaluator$ConditionVisitor.evaluate(SymbolicEvaluator.java:190)

                at org.sonar.java.symexec.SymbolicEvaluator.evaluateCondition(SymbolicEvaluator.java:84)

                at org.sonar.java.symexec.SymbolicEvaluator$ConditionVisitor.evaluateConditionalAnd(SymbolicEvaluator.java:278)

                at org.sonar.java.symexec.SymbolicEvaluator$BaseExpressionVisitor.visitBinaryExpression(SymbolicEvaluator.java:107)

                at org.sonar.java.model.expression.BinaryExpressionTreeImpl.accept(BinaryExpressionTreeImpl.java:85)

                at org.sonar.plugins.java.api.tree.BaseTreeVisitor.scan(BaseTreeVisitor.java:42)

                at org.sonar.java.symexec.SymbolicEvaluator$ConditionVisitor.evaluate(SymbolicEvaluator.java:190)

                at org.sonar.java.symexec.SymbolicEvaluator.evaluateCondition(SymbolicEvaluator.java:84)

                at org.sonar.java.symexec.SymbolicEvaluator$ConditionVisitor.evaluateConditionalAnd(SymbolicEvaluator.java:278)

                at org.sonar.java.symexec.SymbolicEvaluator$BaseExpressionVisitor.visitBinaryExpression(SymbolicEvaluator.java:107)

                at org.sonar.java.model.expression.BinaryExpressionTreeImpl.accept(BinaryExpressionTreeImpl.java:85)

                at org.sonar.plugins.java.api.tree.BaseTreeVisitor.scan(BaseTreeVisitor.java:42)

[ERROR]

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

[ERROR]

 

What can we do?

 

Cordialement / Best regards

 

Laurent TOURREAU

Fixed Income IT F2B BO CMQA Team

 

 

This message and any attachments (the "message") is
intended solely for the intended addressees and is confidential.
If you receive this message in error,or are not the intended recipient(s),
please delete it and any copies from your systems and immediately notify
the sender. Any unauthorized view, use that does not comply with its purpose,
dissemination or disclosure, either whole or partial, is prohibited. Since the internet
cannot guarantee the integrity of this message which may not be reliable, BNP PARIBAS
(and its subsidiaries) shall not be liable for the message if modified, changed or falsified.
Do not print this message unless it is necessary,consider the environment.

----------------------------------------------------------------------------------------------------------------------------------

Ce message et toutes les pieces jointes (ci-apres le "message")
sont etablis a l'intention exclusive de ses destinataires et sont confidentiels.
Si vous recevez ce message par erreur ou s'il ne vous est pas destine,
merci de le detruire ainsi que toute copie de votre systeme et d'en avertir
immediatement l'expediteur. Toute lecture non autorisee, toute utilisation de
ce message qui n'est pas conforme a sa destination, toute diffusion ou toute
publication, totale ou partielle, est interdite. L'Internet ne permettant pas d'assurer
l'integrite de ce message electronique susceptible d'alteration, BNP Paribas
(et ses filiales) decline(nt) toute responsabilite au titre de ce message dans l'hypothese
ou il aurait ete modifie, deforme ou falsifie.
N'imprimez ce message que si necessaire, pensez a l'environnement.