java.io.IOException 与 hudson

发布于 2025-01-03 08:31:36 字数 270 浏览 3 评论 0原文

我使用Hudson,源代码由SVN控制。

当新的工作区在从站上签出时,它显示:

hudson.util.IOException2:remote file operation failed
caused by :java.io.IOException:remote call on server1 failed
...
caused by:java.lang.OutOfMemroyError:java heap space

如何解决这个问题?

I use Hudson, and source code is controlled by SVN.

When a new workspace checkout on slave, it displays:

hudson.util.IOException2:remote file operation failed
caused by :java.io.IOException:remote call on server1 failed
...
caused by:java.lang.OutOfMemroyError:java heap space

How to solve this problem?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

烟若柳尘 2025-01-10 08:31:36

检查“我遇到 OutOfMemoryError”Hudson页面并查看其中的建议之一是否有帮助。

如果你的 Hudson 开始因 OutOfMemoryError 而窒息,则存在三种可能性。

  • 您的 Hudson 的数据大小不断增长,需要更大的堆空间。在这种情况下,您只想给它一个更大的堆。
  • 您的 Hudson 正在临时处理大量数据(例如测试报告),需要更大的内存空间。在这种情况下,您只想给它一个更大的堆。
  • 您的 Hudson 存在内存泄漏,在这种情况下我们需要修复该问题。

存在 类似 HUDSON-1215 的错误,但在最近的 Hudson 版本中得到了解决。

此帖子报告了类似的问题。

似乎有类似的事情正在发生。
我在一台 Mac 从机上也遇到过 SVN 签出失败的情况。
当我在从属启动选项中添加 -Xmx2G 后,问题就消失了。

其他请注意,JVM 选项出现在[高级...]下的节点配置屏幕下

JVM哈德逊的选项

Check the "I'm getting OutOfMemoryError" Hudson page and see if one of the suggestions there can help.

If your Hudson started choking with OutOfMemoryError, there are three possibilities.

  • Your Hudson is growing in data size, requiring a bigger heap space. In this case you just want to give it a bigger heap.
  • Your Hudson is temporarily processing a large amount of data (like test reports), requring a bigger head room in memory. In this case you just want to give it a bigger heap.
  • Your Hudson is leaking memory, in which case we need to fix that.

There were bugs like HUDSON-1215, but solved in recent Hudson version.

This thread reports a similar issue.

There seems to be something like that going on.
I also had SVN checkouts fail on one Mac slave.
After I added -Xmx2G on the slave startup options, the problem went away.

Others please note that the JVM options appear under the node Configure screen under [Advanced...]

JVM options on Hudson

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文