解决jenkins的内存溢出问题
FATAL: Remote call on ime_checkcode failedjava.io.IOException: Remote call on ime_checkcode failed
at hudson.remoting.Channel.call(Channel.java:748)
at hudson.Launcher$RemoteLauncher.kill(Launcher.java:913)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:541)
at hudson.model.Run.execute(Run.java:1704)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:231)
Caused by: java.lang.OutOfMemoryError: Java heap space
解决办法:
在slave机器上cmd输入set JAVA_OPTS=-server -Xms256m -Xmx512m -XX:PermSize=128M -XX:MaxPermSize=256M 即可解决。
页:
[1]