1/13/2019 SonarQube Users (archive) - [Link].
OutOfMemoryError: Java heap space
SonarQube (archive) › SonarQube Users (archive) Login Register
[Link]: Java heap space
‹ Previous Topic
Classic List Threaded
Ad Valentina-18
Lenovo Exclusive Store - Dec 04, 2012; 9:18pm [Link]: 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
You have some idea?
Explore At your thanks you so much
Nearby Store
Vale
Be Productive With 8th
Gen Intel Core &
Windows 10. Buy Now!
[INFO] [Link].549] Sensor Maven dependencies done: 2259 ms
[INFO] [Link].879] Execute decorators...
[ERROR] Java heap space -> [Help 1]
[Link]: Java heap space
Gurugram at [Link]([Link])
at [Link]([Link])
11AM–9PM
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
DIRECTIONS at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
[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] [Link]
Sonar analysis completed: FAILURE
Sending e-mails to: [hidden email]
Finished: FAILURE
[Link] 1/9
1/13/2019 SonarQube Users (archive) - [Link]: Java heap space
ebenessy
Dec 04, 2012; 9:37pm Re: [Link]: Java heap space
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
In the Hudson configuration page :
MAVEN_OPTS global -Xmx512m
2012/12/4 Valentina <[hidden email]>
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
You have some idea?
thanks you so much
Vale
[INFO] [Link].549] Sensor Maven dependencies done: 2259 ms
[INFO] [15 28 59 879] E t d t
... [show rest of quote]
jpfayolle
Dec 04, 2012; 9:38pm RE: [Link]: Java heap space
In reply to this post by Valentina-18
218 posts Hi,
Are you using Findbugs?
JP
Jean-Pierre FAYOLLE
[Link]
From: Valentina [[Link] email]]
Sent: martes, 04 de diciembre de 2012 16:49
To: [hidden email]
Subject: [sonar-user] [Link]: Java heap space
[Link] 2/9
1/13/2019 SonarQube Users (archive) - [Link]: 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
You have some idea?
thanks you so much
Vale
[INFO] [Link].549] Sensor Maven dependencies done: 2259 ms
[INFO] [Link].879] Execute decorators...
[ERROR] Java heap space -> [Help 1]
[Link]: Java heap space
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
[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] [Link]
Sonar analysis completed: FAILURE
Sending e-mails to: [hidden email]
Finished: FAILURE
Comprobado por AVG - [Link]
Versión: 2012.0.2221 / Base de datos de virus: 2634/5435 - Fecha de publicación: 12/03/12
[Link] 3/9
1/13/2019 SonarQube Users (archive) - [Link]: Java heap space
Valentina-18
Dec 05, 2012; 4:49am Re: [Link]: Java heap space
In reply to this post by ebenessy
Hello it's exactly what I did,
29 posts I also tried in hudson config maven -Xmx1024m -Xms512m
thanks again
Vale
2012/12/4 El Hassane Benessy <[hidden email]>
Hi valentina,
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
In the Hudson configuration page :
MAVEN_OPTS global -Xmx512m
2012/12/4 Valentina <[hidden email]>
Hello all
... [show rest of quote]
Valentina-18
Dec 05, 2012; 4:50am Re: [Link]: Java heap space
In reply to this post by Valentina-18
No I m not use findbugs :§
29 posts some idea? I put memory to max but nothing
Thanks a lot
Vale
2012/12/4 Jean-Pierre Fayolle <[hidden email]>
Hi,
Are you using Findbugs?
JP
Jean-Pierre FAYOLLE
[Link]
... [show rest of quote]
jpfayolle
Dec 05, 2012; 5:47am RE: [Link]: Java heap space
[Link] 4/9
1/13/2019 SonarQube Users (archive) - [Link]: 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
[Link]
From: Valentina [[Link] email]]
Sent: miércoles, 05 de diciembre de 2012 0:21
To: [hidden email]
Cc: [hidden email]
Subject: Re: [sonar-user] [Link]: Java heap space
No I m not use findbugs :§
some idea? I put memory to max but nothing
Thanks a lot
Vale
2012/12/4 Jean-Pierre Fayolle <[hidden email]>
Hi,
Are you using Findbugs?
JP
Jean-Pierre FAYOLLE
[Link]
From: Valentina [[Link] email]]
Sent: martes, 04 de diciembre de 2012 16:49
To: [hidden email]
Subject: [sonar-user] [Link]: 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
You have some idea?
thanks you so much
Vale
[INFO] [Link].549] Sensor Maven dependencies done: 2259 ms
[INFO] [Link].879] Execute decorators...
[ERROR] Java heap space -> [Help 1]
[Link] 5/9
1/13/2019 SonarQube Users (archive) - [Link]: Java heap space
[Link]: Java heap space
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
[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] [Link]
Sonar analysis completed: FAILURE
Sending e-mails to: [hidden email]
Finished: FAILURE
Comprobado por AVG - [Link]
Versión: 2012.0.2221 / Base de datos de virus: 2634/5435 - Fecha de publicación: 12/03/12
Comprobado por AVG - [Link]
Versión: 2012.0.2221 / Base de datos de virus: 2634/5436 - Fecha de publicación: 12/04/12
Bracewell, Robert
Dec 05, 2012; 8:50am Re: [Link]: Java heap space
In reply to this post by Valentina-18
Try installing the [Link]
2 posts
This allows you to view/clean memory usage and depending how you are starting your hudson instance you can tweak your jvm
reflected through use of this plugin
I start my jenkins instance using the Java service wrapper ([Link]
This allows me to pass configuration like
[Link].5=-XX:MaxPermSize=1024m
[Link]=2048
--
[Link] 6/9
1/13/2019 SonarQube Users (archive) - [Link]: Java heap space
Robert
From: Valen na <[hidden email]>
Reply-To: "[hidden email]" <[hidden email]>
Date: Tuesday, December 4, 2012 7:48 AM
To: "[hidden email]" <[hidden email]>
Subject: [sonar-user] [Link]: 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
You have some idea?
thanks you so much
Vale
[INFO] [Link].549] Sensor Maven dependencies done: 2259 ms
[INFO] [Link].879] Execute decorators...
[ERROR] Java heap space -> [Help 1]
[Link]: Java heap space
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
[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] [Link]
Sonar analysis completed: FAILURE
Sending e-mails to: [hidden email]
Finished: FAILURE
ejaenv
Dec 05, 2012; 1:51pm Re: [Link]: Java heap space
You could add these params to the JVM to generate a .hprof file :
52 posts -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=<your log dir>
and analyse with a java profiler (for example eclipse MAT plugin [1]) what is eating the memory.
[1] [Link]
HTH
/Enric Jaen
[Link] 7/9
1/13/2019 SonarQube Users (archive) - [Link]: 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] [Link]: Java heap space
Try installing the [Link]
This allows you to view/clean memory usage and depending how you are starting your hudson instance you can tweak your jvm settings
through use of this plugin
I start my jenkins instance using the Java service wrapper ([Link]
This allows me to pass configuration like
[Link].5=-XX:MaxPermSize=1024m
[Link]=2048
--
Robert
From: Valen na <[hidden email]>
Reply-To: "[hidden email]" <[hidden email]>
Date: Tuesday, December 4, 2012 7:48 AM
To: "[hidden email]" <[hidden email]>
Subject: [sonar-user] [Link]: 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
You have some idea?
thanks you so much
Vale
[INFO] [Link].549] Sensor Maven dependencies done: 2259 ms
[INFO] [Link].879] Execute decorators...
[ERROR] Java heap space -> [Help 1]
[Link]: Java heap space
at [Link]([Link])
at [Link]([Link])
at [Link](ViolationTra
at [Link](ViolationTracking
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link](DefaultBuildPluginManager.
at [Link]([Link])
at [Link]([Link])
at [Link]([Link])
at [Link](LifecycleModuleB
at [Link](LifecycleModuleB
at [Link](LifecycleStarte
at [Link]([Link])
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[Link] 8/9
1/13/2019 SonarQube Users (archive) - [Link]: Java heap space
[ERROR] For more information about the errors and possible solutions, please read the following art
[ERROR] [Help 1] [Link]
Sonar analysis completed: FAILURE
Sending e-mails to: [hidden email]
Finished: FAILURE
Matej Perhavec
Dec 05, 2012; 3:21pm Re: [Link]: Java heap space
In reply to this post by Valentina-18
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 [Link] file in conf folder to:
# Java Additional Parameters
[Link].1=-[Link]=true
[Link].2=-XX:MaxPermSize=512m
# Initial Java Heap Size (in MB)
[Link]=512
# Maximum Java Heap Size (in MB)
[Link]=2048
If you are deploying it as war file, you could also try this:
CATALINA_OPTS="-Xmx1024m -[Link].LIMIT_BUFFER=true -XX:MaxPermSize=256m"
Hope this helps you somehow.
BR,
sonarcek
Valentina-18
Dec 05, 2012; 6:57pm Re: [Link]: Java heap space
Thanks you BR !!!
it's working for me !!!
29 posts Vale
2012/12/5 sonarcek <[hidden email]>
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.
For me it worked that I changed values in [Link] file in conf folder
to:
# Java Additional Parameters
[Link].1=-[Link]=true
[Link].2=-XX:MaxPermSize=512m
# Initial Java Heap Size (in MB)
[Link]=512
# Maximum Java Heap Size (in MB)
[Link]=2048
If you are deploying it as war file you could also try this:
... [show rest of quote]
« Return to SonarQube Users (archive) | 2914 views
Free forum by Nabble Disable Popup Ads | Edit this page
[Link] 9/9