Hudson build always end up in "java.lang.OutOfMemoryError: Java heap space" error -
i'm having problem hudson build slave has got windows xp 4 gb ram , in batch file call jnlp have specify following:
javaws -j-xms1280m -j-xmx1024m http://hudson-master.domain.com:8080/computer/exige/slave-agent.jnlp
why can't give more 1 gb ?
any , suggestion appreciated.
thanks, awt
system out of resources. consult following stack trace details. java.lang.outofmemoryerror: java heap space @ com.sun.tools.javac.util.list.prepend(list.java:145) @ com.sun.tools.javac.jvm.classreader.openarchive(classreader.java:1457) @ com.sun.tools.javac.jvm.classreader.list(classreader.java:1742) @ com.sun.tools.javac.jvm.classreader.listall(classreader.java:1882) @ com.sun.tools.javac.jvm.classreader.fillin(classreader.java:1903) @ com.sun.tools.javac.jvm.classreader.complete(classreader.java:1538) @ com.sun.tools.javac.code.symbol.complete(symbol.java:355) @ com.sun.tools.javac.comp.enter.visittoplevel(enter.java:256) @ com.sun.tools.javac.tree.tree$toplevel.accept(tree.java:382) @ com.sun.tools.javac.comp.enter.classenter(enter.java:221) @ com.sun.tools.javac.comp.enter.classenter(enter.java:235) @ com.sun.tools.javac.comp.enter.complete(enter.java:448) @ com.sun.tools.javac.comp.enter.main(enter.java:433) @ com.sun.tools.javac.main.javacompiler.compile(javacompiler.java:404) @ com.sun.tools.javac.main.main.compile(main.java:592) @ com.sun.tools.javac.main.main.compile(main.java:544) @ com.sun.tools.javac.main.compile(main.java:85) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25) @ java.lang.reflect.method.invoke(method.java:585) @ org.codehaus.plexus.compiler.javac.javaccompiler.compileinprocess(javaccompiler.java:420) @ org.codehaus.plexus.compiler.javac.javaccompiler.compile(javaccompiler.java:141) @ org.apache.maven.plugin.abstractcompilermojo.execute(abstractcompilermojo.java:493) @ org.apache.maven.plugin.compilermojo.execute(compilermojo.java:114) @ org.apache.maven.plugin.defaultpluginmanager.executemojo(defaultpluginmanager.java:483) @ hudson.maven.agent.pluginmanagerinterceptor.executemojo(pluginmanagerinterceptor.java:182) @ org.apache.maven.lifecycle.defaultlifecycleexecutor.executegoals(defaultlifecycleexecutor.java:678) @ org.apache.maven.lifecycle.defaultlifecycleexecutor.executegoalwithlifecycle(defaultlifecycleexecutor.java:540) @ org.apache.maven.lifecycle.defaultlifecycleexecutor.executegoal(defaultlifecycleexecutor.java:519) @ org.apache.maven.lifecycle.defaultlifecycleexecutor.executegoalandhandlefailures(defaultlifecycleexecutor.java:371) @ org.apache.maven.lifecycle.defaultlifecycleexecutor.executetasksegments(defaultlifecycleexecutor.java:332) [info] ------------------------------------------------------------------------ [info] more information, run maven -e switch [info] ------------------------------------------------------------------------ [info] total time: 34 seconds [info] finished at: fri oct 08 17:27:59 est 2010 [info] final memory: 25m/63m [info] ------------------------------------------------------------------------
if have master slave configuration, should specify memory settings in manage hudson->configure system->global properties
the kind of environment properties present on master used in slave too.
Comments
Post a Comment