【问题标题】:TeamCity - How to set teamcity.git.fetch.process.max.memoryTeamCity - 如何设置 teamcity.git.fetch.process.max.memory
【发布时间】:2013-09-06 12:11:47
【问题描述】:

我在 git clone/fetch 期间遇到 OutOfMemoryException。我可能需要调整以下设置:

teamcity.git.fetch.process.max.memory=7168M
teamcity.git.fetch.separate.process=true

但是怎么做呢?

我可以使用 TomCat 配置编辑器工具 (tomcat7w.exe //ES//TeamCity),但我假设这些设置是构建代理的一部分,因此通过 TomCat 应用它们似乎很奇怪。

谢谢

卢克

【问题讨论】:

    标签: git teamcity teamcity-7.1


    【解决方案1】:

    TeamCity 支持服务器端和代理端源代码控制签出。如果您在签出期间遇到 JVM 内存不足错误,那么您必须为服务器端签出配置构建配置,因为代理端签出需要在代理上安装 git,而不是 TeamCity 使用其自己的基于 jgit 的进程服务器-一边。

    您是对的,您需要编辑 Tomcat 配置,或者将额外的整体添加到 <TeamCity Data Directory>/config/internal.properties (documentation)。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-04-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-11-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多