Documente Academic
Documente Profesional
Documente Cultură
Ad Valentina-18
Lenovo Exclusive Store - Dec 04, 2012; 9:18pm java.lang.OutOfMemoryError: Java heap space
Satya Computer
Solution
Hello all
29 posts
I use Sonar in my project during one year and was OK, but since the last week I'm getting the out of memory
the project size has 2.5 G
I lunch sonar 3.0 via Hudson version 1.3
I tried to lunch skipping test and graphics analisys disabled, or reboot hudson, machine but it's the same message
when I lunch one module independlenly is ok
http://sonarqube-archive.15.x6.nabble.com/java-lang-OutOfMemoryError-Java-heap-space-td5006118.html 1/9
1/13/2019 SonarQube Users (archive) - java.lang.OutOfMemoryError: Java heap space
ebenessy
Hi valentina,
8 posts Try to increase the JVM heap size for Maven with the following args : -Xmx512m
This will set 512M to the JVM heap size, if it does not work, try it with -Xmx1024m
Hello all
I use Sonar in my project during one year and was OK, but since the last week I'm getting the out of memory
the project size has 2.5 G
I lunch sonar 3.0 via Hudson version 1.3
I tried to lunch skipping test and graphics analisys disabled, or reboot hudson, machine but it's the same message
when I lunch one module independlenly is ok
Vale
jpfayolle
JP
Jean-Pierre FAYOLLE
www.qualilogy.com
http://sonarqube-archive.15.x6.nabble.com/java-lang-OutOfMemoryError-Java-heap-space-td5006118.html 2/9
1/13/2019 SonarQube Users (archive) - java.lang.OutOfMemoryError: Java heap space
Hello all
I use Sonar in my project during one year and was OK, but since the last week I'm getting the out of memory
the project size has 2.5 G
I lunch sonar 3.0 via Hudson version 1.3
I tried to lunch skipping test and graphics analisys disabled, or reboot hudson, machine but it's the same message
when I lunch one module independlenly is ok
Vale
at java.util.Arrays.sort(Arrays.java:1206)
at java.util.Collections.sort(Collections.java:159)
at org.sonar.plugins.core.timemachine.ViolationTrackingDecorator.mapViolations(ViolationTrackingDecorator.java:136)
at org.sonar.plugins.core.timemachine.ViolationTrackingDecorator.decorate(ViolationTrackingDecorator.java:70)
at org.sonar.batch.phases.DecoratorsExecutor.executeDecorator(DecoratorsExecutor.java:79)
at org.sonar.batch.phases.DecoratorsExecutor.decorateResource(DecoratorsExecutor.java:70)
at org.sonar.batch.phases.DecoratorsExecutor.decorateResource(DecoratorsExecutor.java:63)
at org.sonar.batch.phases.DecoratorsExecutor.decorateResource(DecoratorsExecutor.java:63)
at org.sonar.batch.phases.DecoratorsExecutor.execute(DecoratorsExecutor.java:55)
at org.sonar.batch.phases.Phases.execute(Phases.java:94)
at org.sonar.batch.bootstrap.ProjectModule.doStart(ProjectModule.java:143)
at org.sonar.batch.bootstrap.Module.start(Module.java:83)
at org.sonar.batch.bootstrap.BatchModule.analyze(BatchModule.java:115)
at org.sonar.batch.bootstrap.BatchModule.analyze(BatchModule.java:110)
at org.sonar.batch.bootstrap.BatchModule.doStart(BatchModule.java:105)
at org.sonar.batch.bootstrap.Module.start(Module.java:83)
at org.sonar.batch.bootstrap.BootstrapModule.doStart(BootstrapModule.java:109)
at org.sonar.batch.bootstrap.Module.start(Module.java:83)
at org.sonar.batch.bootstrapper.Batch.startBatch(Batch.java:72)
at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:59)
at org.sonar.maven3.SonarMojo.execute(SonarMojo.java:143)
at org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:113)
at org.codehaus.mojo.sonar.Bootstraper.start(Bootstraper.java:65)
at org.codehaus.mojo.sonar.SonarMojo.execute(SonarMojo.java:90)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
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:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
[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:
Finished: FAILURE
http://sonarqube-archive.15.x6.nabble.com/java-lang-OutOfMemoryError-Java-heap-space-td5006118.html 3/9
1/13/2019 SonarQube Users (archive) - java.lang.OutOfMemoryError: Java heap space
Valentina-18
Vale
Try to increase the JVM heap size for Maven with the following args : -Xmx512m
This will set 512M to the JVM heap size, if it does not work, try it with -Xmx1024m
Hello all
... [show rest of quote]
Valentina-18
Thanks a lot
Vale
Hi,
JP
Jean-Pierre FAYOLLE
www.qualilogy.com
jpfayolle
http://sonarqube-archive.15.x6.nabble.com/java-lang-OutOfMemoryError-Java-heap-space-td5006118.html 4/9
1/13/2019 SonarQube Users (archive) - java.lang.OutOfMemoryError: Java heap space
Hola Vale,
218 posts
Not sure I can help but if you give some indica ons about your context / environment : JVM op ons, plugins/jars/code, … probably someone could
Looks you are using Maven so a log with the debug op on –X might help too.
Saludos,
JP
Jean-Pierre FAYOLLE
www.qualilogy.com
Thanks a lot
Vale
Hi,
JP
Jean-Pierre FAYOLLE
www.qualilogy.com
Hello all
I use Sonar in my project during one year and was OK, but since the last week I'm getting the out of memory
the project size has 2.5 G
I lunch sonar 3.0 via Hudson version 1.3
I tried to lunch skipping test and graphics analisys disabled, or reboot hudson, machine but it's the same message
when I lunch one module independlenly is ok
Vale
http://sonarqube-archive.15.x6.nabble.com/java-lang-OutOfMemoryError-Java-heap-space-td5006118.html 5/9
1/13/2019 SonarQube Users (archive) - java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.sort(Arrays.java:1206)
at java.util.Collections.sort(Collections.java:159)
at org.sonar.plugins.core.timemachine.ViolationTrackingDecorator.mapViolations(ViolationTrackingDecorator.java:136)
at org.sonar.plugins.core.timemachine.ViolationTrackingDecorator.decorate(ViolationTrackingDecorator.java:70)
at org.sonar.batch.phases.DecoratorsExecutor.executeDecorator(DecoratorsExecutor.java:79)
at org.sonar.batch.phases.DecoratorsExecutor.decorateResource(DecoratorsExecutor.java:70)
at org.sonar.batch.phases.DecoratorsExecutor.decorateResource(DecoratorsExecutor.java:63)
at org.sonar.batch.phases.DecoratorsExecutor.decorateResource(DecoratorsExecutor.java:63)
at org.sonar.batch.phases.DecoratorsExecutor.execute(DecoratorsExecutor.java:55)
at org.sonar.batch.phases.Phases.execute(Phases.java:94)
at org.sonar.batch.bootstrap.ProjectModule.doStart(ProjectModule.java:143)
at org.sonar.batch.bootstrap.Module.start(Module.java:83)
at org.sonar.batch.bootstrap.BatchModule.analyze(BatchModule.java:115)
at org.sonar.batch.bootstrap.BatchModule.analyze(BatchModule.java:110)
at org.sonar.batch.bootstrap.BatchModule.doStart(BatchModule.java:105)
at org.sonar.batch.bootstrap.Module.start(Module.java:83)
at org.sonar.batch.bootstrap.BootstrapModule.doStart(BootstrapModule.java:109)
at org.sonar.batch.bootstrap.Module.start(Module.java:83)
at org.sonar.batch.bootstrapper.Batch.startBatch(Batch.java:72)
at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:59)
at org.sonar.maven3.SonarMojo.execute(SonarMojo.java:143)
at org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:113)
at org.codehaus.mojo.sonar.Bootstraper.start(Bootstraper.java:65)
at org.codehaus.mojo.sonar.SonarMojo.execute(SonarMojo.java:90)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
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:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
[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:
Finished: FAILURE
Bracewell, Robert
Dec 05, 2012; 8:50am Re: java.lang.OutOfMemoryError: Java heap space
--
http://sonarqube-archive.15.x6.nabble.com/java-lang-OutOfMemoryError-Java-heap-space-td5006118.html 6/9
1/13/2019 SonarQube Users (archive) - java.lang.OutOfMemoryError: Java heap space
Robert
Hello all
I use Sonar in my project during one year and was OK, but since the last week I'm getting the out of memory
the project size has 2.5 G
I lunch sonar 3.0 via Hudson version 1.3
I tried to lunch skipping test and graphics analisys disabled, or reboot hudson, machine but it's the same message
when I lunch one module independlenly is ok
Vale
ejaenv
You could add these params to the JVM to generate a .hprof file :
and analyse with a java profiler (for example eclipse MAT plugin [1]) what is eating the memory.
[1] http://www.eclipse.org/mat/
HTH
/Enric Jaen
http://sonarqube-archive.15.x6.nabble.com/java-lang-OutOfMemoryError-Java-heap-space-td5006118.html 7/9
1/13/2019 SonarQube Users (archive) - java.lang.OutOfMemoryError: Java heap space
De: "Bracewell, Robert" <[hidden email]>
Para: "[hidden email]" <[hidden email]>
Enviado: Miércoles 5 de diciembre de 2012 4:20
Asunto: Re: [sonar-user] java.lang.OutOfMemoryError: Java heap space
--
Robert
Hello all
I use Sonar in my project during one year and was OK, but since the last week I'm getting the out of memory
the project size has 2.5 G
I lunch sonar 3.0 via Hudson version 1.3
I tried to lunch skipping test and graphics analisys disabled, or reboot hudson, machine but it's the same message
when I lunch one module independlenly is ok
Vale
Matej Perhavec
Hi, I had same issue yesterday. I don't know if you are deploying Sonar as war file with tomcat or just using it from folder.
16 posts
For me it worked that I changed values in wrapper.conf file in conf folder to:
If you are deploying it as war file, you could also try this:
BR,
sonarcek
Valentina-18
Dec 05, 2012; 6:57pm Re: java.lang.OutOfMemoryError: Java heap space
If you are deploying it as war file you could also try this:
... [show rest of quote]
http://sonarqube-archive.15.x6.nabble.com/java-lang-OutOfMemoryError-Java-heap-space-td5006118.html 9/9