|solving java.lang.OutOfMemoryError: "Java heap space" [message #521177]
||Tue, 16 March 2010 16:19
| Flavio Donze
Registered: July 2009
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"
Prozessmanagement und Qualitätsmanagement Software QMS/IMS
Powered by FUDForum
. Page generated in 0.01964 seconds