开发者

OutOfMemoryError in hudson [duplicate]

This question already has an answer here: Closed 12 years ago.

Possible Duplicate:

java OutOfMemoryError in hudson

I'm getting following error in hudson ver 1.395

BUILD SUCCESSFUL Total time: 16 minutes 44 seconds FATAL: Java heap space java.lang.OutOfMemoryError: Java heap space

at org.jvnet.winp.Native.getCmdLineAndEnvVars(Native Method)

at org.jvnet.winp.WinProcess.parseCmdLineAndEnvVars(WinProcess.java:114)

at org.jvnet.winp.WinProcess.getEnvironmentVariables(WinProcess.java:109)

at hudson.util.ProcessTree$Windows$1.getEnvironmentVariables(ProcessTree.java:419)

at hudson.util.ProcessTree$OSProcess.hasMatchingEnvVars(ProcessTree.java:259)

at hudson.util.ProcessTree$Windows.killAll(ProcessTree.java:441)

at hudson.Launcher$LocalLauncher.kill(Launcher.java:657)

at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuil开发者_开发知识库d.java:441)

at hudson.model.Run.run(Run.java:1362)

at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)

at hudson.model.ResourceController.execute(ResourceController.java:88)

at hudson.model.Executor.run(Executor.java:145)


See documentation: Hudson - OutOfMemoryError

You can also try to increase heap like that: java -jar hudson.war -Xms64m -Xmx256m (default is: -Xms32m -Xmx128m)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜