solving java.lang.OutOfMemoryError: "Java heap space" [message #521177] |
Tue, 16 March 2010 16:19 |
Flavio Donze Messages: 211 Registered: July 2009 Location: Switzerland |
Senior Member |
|
|
Today I encountered a Java heap space problem, just want to share the solution.
I kept on getting "java.lang.OutOfMemoryError: Java heap space" in my free style job (running buckminster build command).
So I added -Xms1024m to my hudson startup call:
java -Xms1024m hudson.war
Still the same problem. After messing around with all those vm arguments -Xms512m -Xmx512m -XX:PermSize=512m -XX:MaxPermSize=512m I saw in my task manager that there is another java task running.
Buckminster is running in its own JVM, which totally makes sense. I was hacking around at the wrong place.
So to solve this issue, open your free style job and add -Xmx1024m to "Run Buckminster" => "Advanced Options" => "JVM Argumente"
Problem solved...
Prozessmanagement und Qualitätsmanagement Software QMS/IMS
https://www.scodi.ch
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03689 seconds